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.0009095/0.0009097, allocations: 91.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1885/0.1885, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002363/0.0002363, allocations: 11.98 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.09983, allocations: 63.55 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2707/0.3706, allocations: 75.76 MB / 0.5458 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03975/0.4104, allocations: 34.3 MB / 0.5793 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.4128, allocations: 51.56 kB / 0.5794 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002979/0.4158, allocations: 0.9209 MB / 0.5803 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.4288, allocations: 4.321 MB / 0.5845 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01607/0.4449, allocations: 5.608 MB / 0.59 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008748/0.4537, allocations: 7.265 MB / 0.5971 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.4562, allocations: 1.143 MB / 0.5982 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.4673, allocations: 5.04 MB / 0.6031 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.4704, allocations: 1.639 MB / 0.6047 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007504/0.4712, allocations: 100 kB / 0.6048 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01675/0.4879, allocations: 7.095 MB / 0.6117 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.4893, allocations: 0.6348 MB / 0.6124 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.492, allocations: 1.028 MB / 0.6134 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.5062, allocations: 6.554 MB / 0.6198 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5062, allocations: 0 / 0.6198 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5062, allocations: 0 / 0.6198 GB, free: 12.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.863e-05/0.5063, allocations: 0 / 0.6198 GB, free: 12.84 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.006579/0.5129, allocations: 2.46 MB / 0.6222 GB, free: 10.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.513, allocations: 12.02 kB / 0.6222 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000676/0.5137, allocations: 265.3 kB / 0.6224 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006568/0.5202, allocations: 0.8417 MB / 0.6233 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.5226, allocations: 1.053 MB / 0.6243 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005216/0.5232, allocations: 461 kB / 0.6247 GB, free: 7.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005404/0.5237, allocations: 175.8 kB / 0.6249 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008016/0.5317, allocations: 3.213 MB / 0.628 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.27e-05/0.5319, allocations: 11.88 kB / 0.628 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.5322, allocations: 79.98 kB / 0.6281 GB, free: 3.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.5323, allocations: 86.66 kB / 0.6282 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007169/0.5395, allocations: 2.808 MB / 0.6309 GB, free: 0.957 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.01802/0.5576, allocations: 15.82 MB / 0.6464 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004499/0.5621, allocations: 1.465 MB / 0.6478 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.5635, allocations: 0.5813 MB / 0.6484 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.5647, allocations: 0.7103 MB / 0.6491 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.5647, allocations: 51.56 kB / 0.6491 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.645e-06/0.5648, allocations: 3.938 kB / 0.6491 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01775/0.5825, allocations: 5.504 MB / 0.6545 GB, free: 7.516 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.5826, allocations: 171.2 kB / 0.6547 GB, free: 7.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.5848, allocations: 1.457 MB / 0.6561 GB, free: 5.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.5849, allocations: 49.7 kB / 0.6561 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006994/0.5856, allocations: 0.936 MB / 0.6571 GB, free: 4.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.586, allocations: 422.2 kB / 0.6575 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.5863, allocations: 202.3 kB / 0.6577 GB, free: 4.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.5864, allocations: 309.1 kB / 0.6579 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.5881, allocations: 0.715 MB / 0.6586 GB, free: 3.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.5907, allocations: 1.965 MB / 0.6606 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/0.5952, allocations: 2.853 MB / 0.6633 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/0.5953, allocations: 12 kB / 0.6634 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006273/0.6015, allocations: 2.886 MB / 0.6662 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.6016, allocations: 23.94 kB / 0.6662 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.768e-05/0.6017, allocations: 55.91 kB / 0.6663 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.6032, allocations: 435.3 kB / 0.6667 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.605, allocations: 0.5538 MB / 0.6672 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.6073, allocations: 2.744 MB / 0.6699 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.6094, allocations: 227.7 kB / 0.6701 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.6096, allocations: 136 kB / 0.6702 GB, free: 5.973 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.001015/0.6106, allocations: 0.5427 MB / 0.6708 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.611, allocations: 173.9 kB / 0.6709 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007631/0.6187, allocations: 5.079 MB / 0.6759 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.733e-05/0.6188, allocations: 47.94 kB / 0.6759 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6188, allocations: 0 / 0.6759 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.6188, allocations: 7.969 kB / 0.6759 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.6289, allocations: 7.236 MB / 0.683 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6289, allocations: 320 / 0.683 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.63, allocations: 299.6 kB / 0.6833 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.6313, allocations: 451 kB / 0.6837 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.6314, allocations: 24 kB / 0.6838 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.6337, allocations: 2.795 MB / 0.6865 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6337, allocations: 3.938 kB / 0.6865 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/0.6402, allocations: 4.205 MB / 0.6906 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.6413, allocations: 0.5555 MB / 0.6911 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/0.6416, allocations: 28 kB / 0.6912 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6429, allocations: 147.6 kB / 0.6913 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.6432, allocations: 100.9 kB / 0.6914 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.6433, allocations: 55.91 kB / 0.6914 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001814/0.6451, allocations: 1.232 MB / 0.6927 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6451, allocations: 0 / 0.6927 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004046/0.6492, allocations: 1.406 MB / 0.694 GB, free: 13.12 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.01157/0.6607, allocations: 6.042 MB / 0.6999 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00459/0.6653, allocations: 2.308 MB / 0.7022 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.6654, allocations: 5.125 kB / 0.7022 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.6679, allocations: 1.39 MB / 0.7035 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/0.6736, allocations: 0.8916 MB / 0.7044 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2227/0.8963, allocations: 22.41 MB / 0.7263 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.8976, allocations: 1.651 MB / 0.7279 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002448/0.9, allocations: 0.9567 MB / 0.7288 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.9008, allocations: 0.9205 MB / 0.7297 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.9008, allocations: 0 / 0.7297 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09839/0.9992, allocations: 86.6 MB / 0.8143 GB, free: 96.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.9994, allocations: 299.2 kB / 0.8146 GB, free: 95.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.318/6.318, allocations: 0 / 0.8146 GB, free: 95.65 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)