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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008275/0.0008275, allocations: 87.23 kB / 292.1 MB, free: 6.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.184/0.184, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.927e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 63.24 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.124/6.237, allocations: 2.772 GB / 3.283 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/6.237, allocations: 82.45 kB / 3.283 GB, free: 16.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.988/9.225, allocations: 0.8163 GB / 4.1 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.713e-06/9.225, allocations: 2.5 kB / 4.1 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001066/9.225, allocations: 50.23 kB / 4.1 GB, free: 47.33 MB / 0.5573 GB 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.008881/9.234, allocations: 2.983 MB / 4.103 GB, free: 45.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/9.234, allocations: 10.53 kB / 4.103 GB, free: 45.72 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000323/9.234, allocations: 265 kB / 4.103 GB, free: 45.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/9.24, allocations: 0.8437 MB / 4.104 GB, free: 45.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/9.242, allocations: 1.107 MB / 4.105 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/9.243, allocations: 459.4 kB / 4.105 GB, free: 44.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/9.243, allocations: 173.2 kB / 4.105 GB, free: 44.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/9.248, allocations: 3.127 MB / 4.108 GB, free: 42.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/9.248, allocations: 9.844 kB / 4.108 GB, free: 42.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/9.248, allocations: 88.33 kB / 4.108 GB, free: 42.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.033e-05/9.248, allocations: 83.48 kB / 4.109 GB, free: 42.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004524/9.253, allocations: 2.556 MB / 4.111 GB, free: 41.96 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.01285/9.266, allocations: 15.75 MB / 4.126 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/9.269, allocations: 1.345 MB / 4.128 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/9.269, allocations: 440.8 kB / 4.128 GB, free: 28.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008707/9.27, allocations: 0.6846 MB / 4.129 GB, free: 27.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/9.27, allocations: 46.81 kB / 4.129 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 2.595e-06/9.27, allocations: 3.312 kB / 4.129 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.01122/9.282, allocations: 4.533 MB / 4.133 GB, free: 24.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/9.282, allocations: 167.2 kB / 4.133 GB, free: 24.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/9.283, allocations: 1.262 MB / 4.135 GB, free: 22.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-05/9.283, allocations: 49.7 kB / 4.135 GB, free: 22.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/9.284, allocations: 0.9323 MB / 4.136 GB, free: 21.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/9.284, allocations: 421.4 kB / 4.136 GB, free: 21.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/9.284, allocations: 54.84 kB / 4.136 GB, free: 21.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001279/9.284, allocations: 393.4 kB / 4.136 GB, free: 21.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/9.285, allocations: 0.5555 MB / 4.137 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/9.286, allocations: 1.794 MB / 4.139 GB, free: 18.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/9.288, allocations: 0.8983 MB / 4.14 GB, free: 17.61 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/9.288, allocations: 12 kB / 4.14 GB, free: 17.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.003464/9.291, allocations: 2.581 MB / 4.142 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/9.291, allocations: 24 kB / 4.142 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/9.291, allocations: 43.94 kB / 4.142 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/9.292, allocations: 440.4 kB / 4.143 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/9.294, allocations: 0.5254 MB / 4.143 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/9.295, allocations: 2.727 MB / 4.146 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/9.297, allocations: 229.4 kB / 4.146 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/9.297, allocations: 139.3 kB / 4.146 GB, free: 11.31 MB / 0.5573 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,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 () * 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.0003225/9.297, allocations: 298.8 kB / 4.146 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/9.297, allocations: 170.3 kB / 4.147 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/9.302, allocations: 4.808 MB / 4.151 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/9.302, allocations: 44.73 kB / 4.151 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/9.302, allocations: 0 / 4.151 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/9.302, allocations: 7.969 kB / 4.151 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006406/9.308, allocations: 6.891 MB / 4.158 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/9.308, allocations: 4 kB / 4.158 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009676/9.309, allocations: 279.9 kB / 4.158 GB, free: 15.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/9.311, allocations: 433.8 kB / 4.159 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/9.311, allocations: 31.94 kB / 4.159 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/9.313, allocations: 2.771 MB / 4.162 GB, free: 11.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/9.313, allocations: 80 / 4.162 GB, free: 11.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/9.317, allocations: 3.916 MB / 4.165 GB, free: 7.746 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009201/9.318, allocations: 0.5517 MB / 4.166 GB, free: 7.172 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/9.318, allocations: 28 kB / 4.166 GB, free: 7.145 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/9.319, allocations: 135.8 kB / 4.166 GB, free: 7.012 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/9.319, allocations: 112.8 kB / 4.166 GB, free: 6.898 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/9.319, allocations: 55.97 kB / 4.166 GB, free: 6.844 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001516/9.321, allocations: 1.194 MB / 4.167 GB, free: 5.621 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/9.321, allocations: 0 / 4.167 GB, free: 5.621 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006213/9.327, allocations: 1.511 MB / 4.169 GB, free: 4.109 MB / 0.573 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 () * 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.4021/9.729, allocations: 7.07 MB / 4.176 GB, free: 64.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003366/9.733, allocations: 1.99 MB / 4.178 GB, free: 64.26 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/9.733, allocations: 0.625 kB / 4.178 GB, free: 64.25 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/9.734, allocations: 1.228 MB / 4.179 GB, free: 64.25 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/9.739, allocations: 0.8705 MB / 4.18 GB, free: 64.24 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008878/9.748, allocations: 4.539 MB / 4.184 GB, free: 63.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/9.749, allocations: 1.695 MB / 4.186 GB, free: 62.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002032/9.751, allocations: 0.9663 MB / 4.187 GB, free: 62.58 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/9.752, allocations: 0.9352 MB / 4.188 GB, free: 62.58 MB / 0.573 GB Notification: Performance of SimCode: time 1.153e-06/9.752, allocations: 0 / 4.188 GB, free: 62.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/9.88, allocations: 94.01 MB / 4.279 GB, free: 58.67 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/9.88, allocations: 226.7 kB / 4.28 GB, free: 58.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.538/14.42, allocations: 0 / 4.28 GB, free: 58.41 MB / 0.573 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat