Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001532, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 75.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3473, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.08318/0.4306, allocations: 75.45 MB / 0.6043 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04355/0.4742, allocations: 33.5 MB / 0.637 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.4768, allocations: 43.75 kB / 0.637 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.4801, allocations: 1.041 MB / 0.6381 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01449/0.4946, allocations: 5.11 MB / 0.643 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01785/0.5125, allocations: 6.336 MB / 0.6492 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008517/0.5211, allocations: 5.184 MB / 0.6543 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.5235, allocations: 1.328 MB / 0.6556 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.5358, allocations: 5.293 MB / 0.6608 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.5394, allocations: 1.592 MB / 0.6623 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006218/0.5401, allocations: 200 kB / 0.6625 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01614/0.5562, allocations: 7.227 MB / 0.6696 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.5576, allocations: 0.7247 MB / 0.6703 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.5595, allocations: 1.093 MB / 0.6713 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.5745, allocations: 6.712 MB / 0.6779 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5746, allocations: 4 kB / 0.6779 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5746, allocations: 0 / 0.6779 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.79e-05/0.5747, allocations: 0 / 0.6779 GB, free: 10.41 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.007105/0.5818, allocations: 2.889 MB / 0.6807 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.5818, allocations: 12.02 kB / 0.6807 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003402/0.5822, allocations: 265.3 kB / 0.681 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/0.5885, allocations: 0.8192 MB / 0.6818 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.5907, allocations: 1.12 MB / 0.6829 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004006/0.5911, allocations: 461 kB / 0.6833 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.5914, allocations: 171.9 kB / 0.6835 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007017/0.5984, allocations: 3.127 MB / 0.6865 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.5985, allocations: 11.88 kB / 0.6866 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.5987, allocations: 83.98 kB / 0.6866 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.5989, allocations: 90.66 kB / 0.6867 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006981/0.6058, allocations: 2.695 MB / 0.6893 GB, free: 14.24 MB / 0.545 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.01835/0.6242, allocations: 15.74 MB / 0.7047 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/0.6287, allocations: 1.384 MB / 0.7061 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.63, allocations: 0.5425 MB / 0.7066 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.6312, allocations: 0.6869 MB / 0.7073 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.6313, allocations: 63.44 kB / 0.7073 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 3.106e-06/0.6313, allocations: 0 / 0.7073 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01742/0.6487, allocations: 5.244 MB / 0.7125 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.6489, allocations: 171.2 kB / 0.7126 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.6509, allocations: 1.465 MB / 0.714 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.651, allocations: 49.7 kB / 0.7141 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/0.6518, allocations: 0.9668 MB / 0.715 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.6522, allocations: 436.4 kB / 0.7155 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005902/0.6528, allocations: 464.2 kB / 0.7159 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.653, allocations: 309.1 kB / 0.7162 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.6546, allocations: 0.6798 MB / 0.7169 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2524/0.9071, allocations: 1.918 MB / 0.7187 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004686/0.9118, allocations: 2.771 MB / 0.7214 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.117e-05/0.9119, allocations: 11.72 kB / 0.7214 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005727/0.9176, allocations: 2.824 MB / 0.7242 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.9177, allocations: 27.25 kB / 0.7242 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.787e-05/0.9178, allocations: 42.5 kB / 0.7243 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.9191, allocations: 444 kB / 0.7247 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.9208, allocations: 0.5188 MB / 0.7252 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.9226, allocations: 2.749 MB / 0.7279 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.9245, allocations: 136.1 kB / 0.728 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.9247, allocations: 135.7 kB / 0.7281 GB, free: 165.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009125/0.9257, allocations: 0.5529 MB / 0.7287 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/0.9261, allocations: 180 kB / 0.7289 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007239/0.9333, allocations: 4.956 MB / 0.7337 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/0.9334, allocations: 46.73 kB / 0.7337 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.9334, allocations: 3.969 kB / 0.7337 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.9334, allocations: 7.766 kB / 0.7338 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009369/0.9428, allocations: 7.109 MB / 0.7407 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.9429, allocations: 3.156 kB / 0.7407 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009755/0.9439, allocations: 264.5 kB / 0.741 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.9451, allocations: 440.5 kB / 0.7414 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.9452, allocations: 34.08 kB / 0.7414 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.9469, allocations: 2.786 MB / 0.7441 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.9469, allocations: 10.61 kB / 0.7441 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005509/0.9524, allocations: 4.094 MB / 0.7481 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008471/0.9533, allocations: 428 kB / 0.7485 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.9536, allocations: 75.8 kB / 0.7486 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/0.9545, allocations: 79.52 kB / 0.7487 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.9548, allocations: 104.9 kB / 0.7488 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.9548, allocations: 55.91 kB / 0.7488 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001301/0.9562, allocations: 1.232 MB / 0.75 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9562, allocations: 0 / 0.75 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00398/0.9601, allocations: 1.418 MB / 0.7514 GB, free: 150.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009781/0.9699, allocations: 5.95 MB / 0.7572 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003989/0.974, allocations: 2.24 MB / 0.7594 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.974, allocations: 448 / 0.7594 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.9761, allocations: 1.357 MB / 0.7608 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/0.9805, allocations: 0.9388 MB / 0.7617 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/1.005, allocations: 19.34 MB / 0.7806 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/1.006, allocations: 1.656 MB / 0.7822 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001909/1.008, allocations: 0.9636 MB / 0.7831 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/1.009, allocations: 0.9211 MB / 0.784 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/1.009, allocations: 0 / 0.784 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.131, allocations: 89.89 MB / 0.8718 GB, free: 25.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.7/19.83, allocations: 7.75 kB / 0.8718 GB, free: 25.93 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)