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.0007832/0.0007833, allocations: 97.67 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009186/0.0009187, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 227.7 MB / 246.8 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.169/0.169, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000201/0.000201, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.08403, allocations: 63.56 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2121/0.2962, allocations: 75.77 MB / 0.5458 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03188/0.3281, allocations: 34.31 MB / 0.5794 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.3296, allocations: 51.56 kB / 0.5794 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.3317, allocations: 0.9249 MB / 0.5803 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009117/0.3409, allocations: 4.311 MB / 0.5845 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01167/0.3525, allocations: 5.604 MB / 0.59 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006476/0.359, allocations: 7.27 MB / 0.5971 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.3604, allocations: 1.142 MB / 0.5982 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007869/0.3683, allocations: 5.036 MB / 0.6031 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.37, allocations: 1.635 MB / 0.6047 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.3702, allocations: 100 kB / 0.6048 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.3811, allocations: 7.091 MB / 0.6117 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005351/0.3817, allocations: 0.6388 MB / 0.6124 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009097/0.3826, allocations: 1.028 MB / 0.6134 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.3893, allocations: 6.554 MB / 0.6198 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3893, allocations: 0 / 0.6198 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3893, allocations: 0 / 0.6198 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3893, allocations: 4 kB / 0.6198 GB, free: 12.81 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.004463/0.3938, allocations: 2.449 MB / 0.6222 GB, free: 10.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3938, allocations: 12.03 kB / 0.6222 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002857/0.3941, allocations: 269.3 kB / 0.6224 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00541/0.3995, allocations: 0.8495 MB / 0.6233 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.4009, allocations: 1.049 MB / 0.6243 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.4012, allocations: 469 kB / 0.6247 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.4014, allocations: 171.8 kB / 0.6249 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005628/0.407, allocations: 3.217 MB / 0.628 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.4071, allocations: 11.94 kB / 0.628 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.4073, allocations: 83.94 kB / 0.6281 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/0.4074, allocations: 86.7 kB / 0.6282 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005888/0.4133, allocations: 2.804 MB / 0.6309 GB, free: 0.9258 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.01325/0.4265, allocations: 15.8 MB / 0.6464 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.4304, allocations: 1.47 MB / 0.6478 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4316, allocations: 0.5813 MB / 0.6484 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009764/0.4326, allocations: 0.7141 MB / 0.6491 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4327, allocations: 51.55 kB / 0.6491 GB, free: 13.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.435e-06/0.4327, allocations: 4 kB / 0.6491 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01485/0.4475, allocations: 5.507 MB / 0.6545 GB, free: 7.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.4476, allocations: 167.2 kB / 0.6547 GB, free: 7.281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.449, allocations: 1.465 MB / 0.6561 GB, free: 5.805 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.4491, allocations: 45.7 kB / 0.6561 GB, free: 5.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.4497, allocations: 0.9438 MB / 0.6571 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.45, allocations: 414.2 kB / 0.6575 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.4502, allocations: 202.3 kB / 0.6577 GB, free: 4.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.4503, allocations: 309.1 kB / 0.6579 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4517, allocations: 0.7189 MB / 0.6587 GB, free: 3.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.4538, allocations: 1.965 MB / 0.6606 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/0.4575, allocations: 2.845 MB / 0.6633 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.4575, allocations: 12 kB / 0.6634 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004705/0.4622, allocations: 2.897 MB / 0.6662 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4623, allocations: 27.94 kB / 0.6662 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.4623, allocations: 40 kB / 0.6663 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4635, allocations: 447.9 kB / 0.6667 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.465, allocations: 0.5459 MB / 0.6672 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.4667, allocations: 2.74 MB / 0.6699 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4681, allocations: 227.9 kB / 0.6701 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.4683, allocations: 140 kB / 0.6702 GB, free: 5.941 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.0006035/0.4689, allocations: 0.5474 MB / 0.6708 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.4691, allocations: 173.9 kB / 0.6709 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/0.4754, allocations: 5.071 MB / 0.6759 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/0.4755, allocations: 51.92 kB / 0.6759 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4755, allocations: 0 / 0.6759 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4755, allocations: 3.984 kB / 0.6759 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008377/0.4839, allocations: 7.24 MB / 0.683 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4839, allocations: 4 kB / 0.683 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4849, allocations: 299.9 kB / 0.6833 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.4861, allocations: 439 kB / 0.6837 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.4862, allocations: 35.92 kB / 0.6838 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.488, allocations: 2.787 MB / 0.6865 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4881, allocations: 4 kB / 0.6865 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/0.4937, allocations: 4.201 MB / 0.6906 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.4943, allocations: 0.5555 MB / 0.6911 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.4945, allocations: 27.98 kB / 0.6912 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4955, allocations: 151.6 kB / 0.6913 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4957, allocations: 96.86 kB / 0.6914 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.4958, allocations: 51.92 kB / 0.6914 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001327/0.4971, allocations: 1.232 MB / 0.6926 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4971, allocations: 0 / 0.6926 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003156/0.5003, allocations: 1.406 MB / 0.694 GB, free: 13.1 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.009184/0.5095, allocations: 6.032 MB / 0.6999 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003676/0.5132, allocations: 2.317 MB / 0.7022 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5132, allocations: 448 / 0.7022 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.5153, allocations: 1.39 MB / 0.7035 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/0.5196, allocations: 0.9089 MB / 0.7044 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1663/0.686, allocations: 22.39 MB / 0.7263 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.687, allocations: 1.654 MB / 0.7279 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002043/0.6891, allocations: 0.9704 MB / 0.7288 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/0.6898, allocations: 0.9221 MB / 0.7297 GB, free: 174 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6898, allocations: 1 kB / 0.7298 GB, free: 174 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.184/9.874, allocations: 86.58 MB / 0.8143 GB, free: 97.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/9.874, allocations: 297.7 kB / 0.8146 GB, free: 97.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.034/15.91, allocations: 0 / 0.8146 GB, free: 97.13 MB / 0.5294 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)