Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_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.001078/0.001078, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 46.12 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 77.25 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.0942, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2331/0.3273, allocations: 75.43 MB / 0.5425 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03456/0.3619, allocations: 33.5 MB / 0.5753 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.3638, allocations: 43.75 kB / 0.5753 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.3663, allocations: 1.033 MB / 0.5763 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.3789, allocations: 5.125 MB / 0.5813 GB, free: 152 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01555/0.3944, allocations: 6.328 MB / 0.5875 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005859/0.4003, allocations: 5.185 MB / 0.5926 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.4023, allocations: 1.329 MB / 0.5938 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.4132, allocations: 5.293 MB / 0.599 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.4157, allocations: 1.588 MB / 0.6006 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005969/0.4163, allocations: 196 kB / 0.6008 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.4298, allocations: 7.087 MB / 0.6077 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.4309, allocations: 0.7247 MB / 0.6084 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.4328, allocations: 1.105 MB / 0.6095 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.4452, allocations: 6.668 MB / 0.616 GB, free: 12.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4452, allocations: 0 / 0.616 GB, free: 12.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4452, allocations: 0 / 0.616 GB, free: 12.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.276e-05/0.4453, allocations: 0 / 0.616 GB, free: 12.52 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.006984/0.4523, allocations: 2.814 MB / 0.6187 GB, free: 9.652 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4524, allocations: 8.031 kB / 0.6187 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005024/0.4529, allocations: 269.3 kB / 0.619 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00662/0.4595, allocations: 0.8104 MB / 0.6198 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.462, allocations: 1.049 MB / 0.6208 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/0.4624, allocations: 465.1 kB / 0.6212 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/0.4629, allocations: 171.9 kB / 0.6214 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.4702, allocations: 3.135 MB / 0.6245 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.4703, allocations: 15.88 kB / 0.6245 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.4706, allocations: 84 kB / 0.6246 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.1e-05/0.4707, allocations: 78.72 kB / 0.6246 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006794/0.4775, allocations: 2.699 MB / 0.6273 GB, free: 0.5117 MB / 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.01602/0.4936, allocations: 15.78 MB / 0.6427 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/0.4977, allocations: 1.387 MB / 0.644 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.499, allocations: 0.539 MB / 0.6446 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.5001, allocations: 0.6947 MB / 0.6452 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.5002, allocations: 55.56 kB / 0.6453 GB, free: 12.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.855e-06/0.5002, allocations: 0 / 0.6453 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.0167/0.5169, allocations: 5.217 MB / 0.6504 GB, free: 7.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.517, allocations: 171.2 kB / 0.6506 GB, free: 7.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.5193, allocations: 1.465 MB / 0.652 GB, free: 5.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.5195, allocations: 49.7 kB / 0.652 GB, free: 5.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008018/0.5204, allocations: 0.9283 MB / 0.6529 GB, free: 4.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/0.5208, allocations: 422.2 kB / 0.6533 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006978/0.5216, allocations: 455.9 kB / 0.6538 GB, free: 3.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5217, allocations: 305.1 kB / 0.6541 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.5233, allocations: 0.6837 MB / 0.6547 GB, free: 3.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.5259, allocations: 1.922 MB / 0.6566 GB, free: 476 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.5299, allocations: 2.778 MB / 0.6593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/0.53, allocations: 12 kB / 0.6593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005473/0.5354, allocations: 2.812 MB / 0.6621 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.5355, allocations: 26.5 kB / 0.6621 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/0.5356, allocations: 48.03 kB / 0.6622 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.5368, allocations: 435.1 kB / 0.6626 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.5384, allocations: 0.5225 MB / 0.6631 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.5404, allocations: 2.748 MB / 0.6658 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.5422, allocations: 144 kB / 0.6659 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.5424, allocations: 140 kB / 0.666 GB, free: 6.086 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.0008368/0.5433, allocations: 0.5425 MB / 0.6666 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.5437, allocations: 174 kB / 0.6667 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006661/0.5503, allocations: 4.961 MB / 0.6716 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/0.5504, allocations: 47.92 kB / 0.6716 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5504, allocations: 128 / 0.6716 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.5504, allocations: 11.98 kB / 0.6716 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009244/0.5597, allocations: 7.122 MB / 0.6786 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5597, allocations: 0 / 0.6786 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.5607, allocations: 259.9 kB / 0.6788 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.5621, allocations: 451 kB / 0.6793 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.5622, allocations: 27.98 kB / 0.6793 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.5642, allocations: 2.787 MB / 0.682 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.5642, allocations: 8.125 kB / 0.682 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/0.5703, allocations: 4.076 MB / 0.686 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/0.571, allocations: 413.8 kB / 0.6864 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.5714, allocations: 67.38 kB / 0.6865 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5724, allocations: 87.92 kB / 0.6865 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.5726, allocations: 104.8 kB / 0.6866 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.5727, allocations: 47.97 kB / 0.6867 GB, free: 476 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001672/0.5744, allocations: 1.236 MB / 0.6879 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5744, allocations: 0 / 0.6879 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003739/0.5781, allocations: 1.41 MB / 0.6893 GB, free: 13.79 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.01083/0.589, allocations: 5.94 MB / 0.6951 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005878/0.5948, allocations: 2.496 MB / 0.6975 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.5949, allocations: 4.438 kB / 0.6975 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.5971, allocations: 1.359 MB / 0.6988 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/0.6014, allocations: 0.9423 MB / 0.6998 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1976/0.799, allocations: 21.23 MB / 0.7205 GB, free: 199.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.8003, allocations: 1.649 MB / 0.7221 GB, free: 199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002664/0.803, allocations: 0.964 MB / 0.7231 GB, free: 199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.8041, allocations: 0.9228 MB / 0.724 GB, free: 198.7 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.8041, allocations: 0 / 0.724 GB, free: 198.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.9164, allocations: 89.17 MB / 0.811 GB, free: 126.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.03, allocations: 7.688 kB / 0.811 GB, free: 126.5 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)