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.00166/0.00166, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00205/0.00205, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2219/0.2219, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.003255/0.003255, allocations: 82.42 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1461, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.299/0.4452, allocations: 75.43 MB / 0.5426 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04375/0.489, allocations: 33.51 MB / 0.5753 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.4917, allocations: 43.75 kB / 0.5754 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.4951, allocations: 1.033 MB / 0.5764 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01527/0.5104, allocations: 5.118 MB / 0.5814 GB, free: 8 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01895/0.5294, allocations: 6.326 MB / 0.5876 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007412/0.5368, allocations: 5.183 MB / 0.5926 GB, free: 4.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.5394, allocations: 1.331 MB / 0.5939 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.5518, allocations: 5.284 MB / 0.5991 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.555, allocations: 1.6 MB / 0.6007 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006067/0.5556, allocations: 196 kB / 0.6008 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/0.5717, allocations: 7.091 MB / 0.6078 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.5729, allocations: 0.7285 MB / 0.6085 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.5746, allocations: 1.097 MB / 0.6096 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.5889, allocations: 6.668 MB / 0.6161 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5889, allocations: 0 / 0.6161 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5889, allocations: 0 / 0.6161 GB, free: 12.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.423e-05/0.589, allocations: 0 / 0.6161 GB, free: 12.38 MB / 462.1 MB 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.007487/0.5965, allocations: 2.814 MB / 0.6188 GB, free: 9.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5965, allocations: 8.031 kB / 0.6188 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003649/0.5969, allocations: 269.3 kB / 0.6191 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006213/0.6031, allocations: 0.8143 MB / 0.6199 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.6054, allocations: 1.041 MB / 0.6209 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005011/0.606, allocations: 473.1 kB / 0.6213 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/0.6064, allocations: 171.9 kB / 0.6215 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007791/0.6142, allocations: 3.138 MB / 0.6246 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.6143, allocations: 11.88 kB / 0.6246 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.6145, allocations: 84 kB / 0.6247 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.6146, allocations: 82.66 kB / 0.6247 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007202/0.6218, allocations: 2.703 MB / 0.6274 GB, free: 364 kB / 462.1 MB 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.01966/0.6415, allocations: 15.76 MB / 0.6428 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004645/0.6462, allocations: 1.395 MB / 0.6441 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.6476, allocations: 0.5383 MB / 0.6447 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.6488, allocations: 0.6985 MB / 0.6453 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.6489, allocations: 47.56 kB / 0.6454 GB, free: 12.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 6.191e-06/0.6489, allocations: 7.984 kB / 0.6454 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.0172/0.6661, allocations: 5.213 MB / 0.6505 GB, free: 7.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.6663, allocations: 171.2 kB / 0.6506 GB, free: 7.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.6684, allocations: 1.465 MB / 0.6521 GB, free: 5.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.6686, allocations: 45.7 kB / 0.6521 GB, free: 5.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007852/0.6694, allocations: 0.936 MB / 0.653 GB, free: 4.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.6698, allocations: 418.2 kB / 0.6534 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000625/0.6704, allocations: 459.9 kB / 0.6539 GB, free: 3.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6705, allocations: 305.1 kB / 0.6542 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.6722, allocations: 0.6798 MB / 0.6548 GB, free: 2.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/0.6749, allocations: 1.922 MB / 0.6567 GB, free: 320 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/0.6796, allocations: 2.775 MB / 0.6594 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.792e-05/0.6797, allocations: 12 kB / 0.6594 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006269/0.686, allocations: 2.819 MB / 0.6622 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.686, allocations: 20.97 kB / 0.6622 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-05/0.6861, allocations: 47.94 kB / 0.6622 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.6875, allocations: 435.1 kB / 0.6627 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.6892, allocations: 0.5264 MB / 0.6632 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.6916, allocations: 2.74 MB / 0.6659 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.6933, allocations: 144 kB / 0.666 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.6935, allocations: 144 kB / 0.6661 GB, free: 5.934 MB / 0.4981 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.0008732/0.6944, allocations: 0.5434 MB / 0.6667 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.6947, allocations: 170 kB / 0.6668 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007612/0.7024, allocations: 4.973 MB / 0.6717 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-05/0.7024, allocations: 43.94 kB / 0.6717 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7025, allocations: 4 kB / 0.6717 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.7025, allocations: 7.969 kB / 0.6717 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.7135, allocations: 7.123 MB / 0.6787 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.7135, allocations: 0 / 0.6787 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.7146, allocations: 256 kB / 0.6789 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.7161, allocations: 446.9 kB / 0.6794 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/0.7162, allocations: 24 kB / 0.6794 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.7187, allocations: 2.795 MB / 0.6821 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7187, allocations: 0 / 0.6821 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007099/0.7258, allocations: 4.076 MB / 0.6861 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008926/0.7267, allocations: 413.7 kB / 0.6865 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/0.7272, allocations: 71.36 kB / 0.6866 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.7283, allocations: 95.8 kB / 0.6866 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.7285, allocations: 104.8 kB / 0.6867 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7286, allocations: 47.98 kB / 0.6868 GB, free: 316 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001904/0.7305, allocations: 1.236 MB / 0.688 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7305, allocations: 0 / 0.688 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00445/0.735, allocations: 1.406 MB / 0.6894 GB, free: 13.64 MB / 0.5294 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.014/0.749, allocations: 5.938 MB / 0.6952 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007103/0.7561, allocations: 2.496 MB / 0.6976 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.7562, allocations: 4.438 kB / 0.6976 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/0.7589, allocations: 1.359 MB / 0.6989 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/0.7639, allocations: 0.9552 MB / 0.6999 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2249/0.9888, allocations: 21.24 MB / 0.7206 GB, free: 199.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.9901, allocations: 1.653 MB / 0.7222 GB, free: 198.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002577/0.9927, allocations: 0.9611 MB / 0.7232 GB, free: 198.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008891/0.9936, allocations: 0.9199 MB / 0.7241 GB, free: 198.4 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.9936, allocations: 0 / 0.7241 GB, free: 198.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/1.121, allocations: 89.28 MB / 0.8112 GB, free: 126.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.38, allocations: 11.19 kB / 0.8113 GB, free: 126.2 MB / 0.545 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)