Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 64.3 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1171, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.346/0.4631, allocations: 175.8 MB / 0.7561 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.4753, allocations: 10.76 MB / 0.7666 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.4759, allocations: 31.81 kB / 0.7666 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.4768, allocations: 392.9 kB / 0.767 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.4789, allocations: 1.024 MB / 0.768 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.4818, allocations: 1.646 MB / 0.7696 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.4834, allocations: 2.159 MB / 0.7717 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.4848, allocations: 1.396 MB / 0.7731 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.4869, allocations: 1.206 MB / 0.7743 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006489/0.4876, allocations: 0.7429 MB / 0.775 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.4878, allocations: 144 kB / 0.7751 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.4896, allocations: 1.373 MB / 0.7765 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.4899, allocations: 422.7 kB / 0.7769 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.4904, allocations: 0.7151 MB / 0.7776 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.4925, allocations: 2.388 MB / 0.7799 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4926, allocations: 0 / 0.7799 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4926, allocations: 0 / 0.7799 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.4926, allocations: 4 kB / 0.7799 GB, free: 4.676 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.002324/0.4949, allocations: 1.779 MB / 0.7816 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.4949, allocations: 12.03 kB / 0.7817 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.4951, allocations: 173 kB / 0.7818 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.497, allocations: 338 kB / 0.7821 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.4981, allocations: 0.9212 MB / 0.783 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.4982, allocations: 82.23 kB / 0.7831 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.4983, allocations: 108 kB / 0.7832 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.5001, allocations: 1.238 MB / 0.7844 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5001, allocations: 0 / 0.7844 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5002, allocations: 48 kB / 0.7845 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.5002, allocations: 24 kB / 0.7845 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.5022, allocations: 1.406 MB / 0.7859 GB, free: 14.38 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004691/0.5069, allocations: 3.716 MB / 0.7895 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.5087, allocations: 1.112 MB / 0.7906 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.5094, allocations: 427.6 kB / 0.791 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.51, allocations: 433.3 kB / 0.7914 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008932/0.5109, allocations: 0.5787 MB / 0.792 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 2.043e-06/0.5109, allocations: 0 / 0.792 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003428/0.5144, allocations: 1.493 MB / 0.7934 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.5145, allocations: 192.9 kB / 0.7936 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.5153, allocations: 0.8361 MB / 0.7944 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.5154, allocations: 49.7 kB / 0.7945 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.5157, allocations: 0.5002 MB / 0.795 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.5159, allocations: 327.2 kB / 0.7953 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.5162, allocations: 174.5 kB / 0.7955 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5163, allocations: 337.9 kB / 0.7958 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.5169, allocations: 329.8 kB / 0.7961 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006995/0.5176, allocations: 473.1 kB / 0.7965 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.5189, allocations: 0.7899 MB / 0.7973 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.519, allocations: 7.938 kB / 0.7973 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002592/0.5216, allocations: 1.036 MB / 0.7983 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5216, allocations: 8 kB / 0.7983 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5216, allocations: 3.938 kB / 0.7983 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/0.5223, allocations: 84.86 kB / 0.7984 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.5235, allocations: 203.8 kB / 0.7986 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.5262, allocations: 1.648 MB / 0.8002 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.5273, allocations: 111.1 kB / 0.8003 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.5274, allocations: 35.97 kB / 0.8004 GB, free: 14.94 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006322/0.528, allocations: 307.1 kB / 0.8007 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.5283, allocations: 123.4 kB / 0.8008 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.5321, allocations: 1.391 MB / 0.8021 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5321, allocations: 12 kB / 0.8021 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5321, allocations: 0 / 0.8021 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5322, allocations: 3.984 kB / 0.8022 GB, free: 13.09 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/0.5383, allocations: 2.658 MB / 0.8047 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5383, allocations: 0 / 0.8047 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.5395, allocations: 199.7 kB / 0.8049 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/0.5401, allocations: 76.97 kB / 0.805 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.5402, allocations: 27.98 kB / 0.805 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.5426, allocations: 1.681 MB / 0.8067 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5426, allocations: 4 kB / 0.8067 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/0.5471, allocations: 1.723 MB / 0.8084 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006811/0.5478, allocations: 323.5 kB / 0.8087 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.548, allocations: 23.94 kB / 0.8087 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5492, allocations: 59.94 kB / 0.8088 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.5494, allocations: 80.89 kB / 0.8088 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.5495, allocations: 47.91 kB / 0.8089 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001213/0.5508, allocations: 0.5936 MB / 0.8095 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.913e-06/0.5508, allocations: 0 / 0.8095 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001515/0.5523, allocations: 423 kB / 0.8099 GB, free: 4.871 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006753/0.5591, allocations: 2.877 MB / 0.8127 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.563, allocations: 1.226 MB / 0.8139 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.563, allocations: 0 / 0.8139 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.5644, allocations: 0.6099 MB / 0.8145 GB, free: 308 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/0.5676, allocations: 0.5082 MB / 0.815 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.5883, allocations: 8.854 MB / 0.8236 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.589, allocations: 1.136 MB / 0.8247 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001211/0.5902, allocations: 357.1 kB / 0.8251 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/0.5909, allocations: 499.2 kB / 0.8255 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.5909, allocations: 0 / 0.8255 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6557/1.247, allocations: 30.97 MB / 0.8558 GB, free: 6.027 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/16.1, allocations: 11.67 kB / 0.8558 GB, free: 6.02 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)