Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",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.001177/0.001177, allocations: 94.52 kB / 16.98 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 183.8 kB / 17.87 MB, free: 5.953 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.455/1.455, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.246/0.246, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.00043, allocations: 9.094 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3308/0.4695, allocations: 63.4 MB / 0.5224 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03727/0.5068, allocations: 28.51 MB / 0.5502 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003292/0.5102, allocations: 49 kB / 0.5503 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.5137, allocations: 0.9092 MB / 0.5512 GB, free: 392 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01905/0.5328, allocations: 4.016 MB / 0.5551 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01731/0.5501, allocations: 5.309 MB / 0.5603 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005829/0.556, allocations: 2.997 MB / 0.5632 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.5584, allocations: 1.081 MB / 0.5643 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.5717, allocations: 7.193 MB / 0.5713 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00362/0.5754, allocations: 1.043 MB / 0.5723 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000532/0.576, allocations: 104 kB / 0.5724 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.5935, allocations: 6.992 MB / 0.5792 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.5951, allocations: 0.5921 MB / 0.5798 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.5963, allocations: 404.8 kB / 0.5802 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.6078, allocations: 4.587 MB / 0.5847 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6079, allocations: 0 / 0.5847 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.011e-06/0.6079, allocations: 3.984 kB / 0.5847 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.823e-05/0.608, allocations: 4 kB / 0.5847 GB, free: 2.621 MB / 414.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.008104/0.6161, allocations: 2.457 MB / 0.5871 GB, free: 112 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6161, allocations: 11.97 kB / 0.5871 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006415/0.6168, allocations: 273.1 kB / 0.5874 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006507/0.6233, allocations: 0.8408 MB / 0.5882 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.626, allocations: 1.021 MB / 0.5892 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.6265, allocations: 460.4 kB / 0.5896 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.6268, allocations: 171.9 kB / 0.5898 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007081/0.6339, allocations: 3.181 MB / 0.5929 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.634, allocations: 19.86 kB / 0.5929 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.6342, allocations: 80 kB / 0.593 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.6343, allocations: 78.72 kB / 0.5931 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00691/0.6412, allocations: 2.8 MB / 0.5958 GB, free: 6.809 MB / 430.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.01904/0.6603, allocations: 15.8 MB / 0.6112 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/0.6648, allocations: 1.474 MB / 0.6127 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.666, allocations: 0.7103 MB / 0.6134 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.6661, allocations: 51.5 kB / 0.6134 GB, free: 3.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 4.228e-06/0.6661, allocations: 3.984 kB / 0.6134 GB, free: 3.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.01729/0.6834, allocations: 5.505 MB / 0.6188 GB, free: 13.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.6836, allocations: 171.2 kB / 0.619 GB, free: 13.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.6857, allocations: 1.449 MB / 0.6204 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002044/0.686, allocations: 49.7 kB / 0.6204 GB, free: 12.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/0.6867, allocations: 0.9322 MB / 0.6213 GB, free: 11.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.6872, allocations: 426.2 kB / 0.6217 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.6872, allocations: 44 kB / 0.6218 GB, free: 10.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6874, allocations: 398.5 kB / 0.6222 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.6891, allocations: 0.7072 MB / 0.6228 GB, free: 9.723 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.6918, allocations: 1.95 MB / 0.6247 GB, free: 7.156 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.6939, allocations: 1.035 MB / 0.6258 GB, free: 6.121 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.694, allocations: 16 kB / 0.6258 GB, free: 6.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006379/0.7004, allocations: 2.882 MB / 0.6286 GB, free: 3.207 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.7005, allocations: 26.03 kB / 0.6286 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/0.7005, allocations: 48.12 kB / 0.6287 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.7019, allocations: 447.1 kB / 0.6291 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.7036, allocations: 0.5459 MB / 0.6296 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.7059, allocations: 2.744 MB / 0.6323 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.7082, allocations: 219.7 kB / 0.6325 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.7085, allocations: 136 kB / 0.6326 GB, free: 14.95 MB / 478.1 MB 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,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009265/0.7094, allocations: 0.5455 MB / 0.6332 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.7097, allocations: 173.9 kB / 0.6333 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006928/0.7166, allocations: 5.102 MB / 0.6383 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/0.7167, allocations: 43.94 kB / 0.6384 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.7167, allocations: 0 / 0.6384 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.7168, allocations: 11.91 kB / 0.6384 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.7273, allocations: 7.228 MB / 0.6454 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.7273, allocations: 4 kB / 0.6454 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.7284, allocations: 296 kB / 0.6457 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.7297, allocations: 435.1 kB / 0.6461 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.7298, allocations: 32 kB / 0.6462 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.7319, allocations: 2.783 MB / 0.6489 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.7319, allocations: 16.08 kB / 0.6489 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006882/0.7388, allocations: 4.345 MB / 0.6531 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.7404, allocations: 0.5555 MB / 0.6537 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.7407, allocations: 35.98 kB / 0.6537 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.7418, allocations: 139.7 kB / 0.6538 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.7421, allocations: 116.7 kB / 0.654 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/0.7422, allocations: 47.97 kB / 0.654 GB, free: 8.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001841/0.744, allocations: 1.213 MB / 0.6552 GB, free: 7.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.744, allocations: 0 / 0.6552 GB, free: 7.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005346/0.7494, allocations: 1.41 MB / 0.6566 GB, free: 5.871 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01201/0.7614, allocations: 6.817 MB / 0.6632 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.7662, allocations: 2.297 MB / 0.6655 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.7663, allocations: 4.625 kB / 0.6655 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.769, allocations: 1.386 MB / 0.6668 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/0.7736, allocations: 0.8718 MB / 0.6677 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2477/1.021, allocations: 43.08 MB / 0.7097 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/1.023, allocations: 1.698 MB / 0.7114 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002716/1.026, allocations: 0.9502 MB / 0.7123 GB, free: 193.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.027, allocations: 0.9353 MB / 0.7132 GB, free: 193.4 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/1.027, allocations: 0 / 0.7132 GB, free: 193.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.154, allocations: 86.55 MB / 0.7978 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.155, allocations: 267.5 kB / 0.798 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.584/6.739, allocations: 4 kB / 0.798 GB, free: 122.1 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat