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.001895/0.001895, allocations: 203.2 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.723/1.723, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001492, allocations: 96.28 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5015/0.5015, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5291/0.5295, allocations: 63.24 MB / 0.5193 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.138/8.668, allocations: 2.772 GB / 3.291 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/8.668, allocations: 88.3 kB / 3.291 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.256/11.92, allocations: 0.8186 GB / 4.11 GB, free: 40.18 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.766e-06/11.92, allocations: 3.375 kB / 4.11 GB, free: 40.18 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001545/11.92, allocations: 46.52 kB / 4.11 GB, free: 40.18 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.01412/11.94, allocations: 3.113 MB / 4.113 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/11.94, allocations: 7.844 kB / 4.113 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007369/11.94, allocations: 275 kB / 4.113 GB, free: 38.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/11.95, allocations: 0.8421 MB / 4.114 GB, free: 38.71 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/11.95, allocations: 1.114 MB / 4.115 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/11.95, allocations: 461.7 kB / 4.115 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/11.95, allocations: 169.8 kB / 4.116 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006919/11.96, allocations: 3.195 MB / 4.119 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/11.96, allocations: 26.83 kB / 4.119 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/11.96, allocations: 88.36 kB / 4.119 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/11.96, allocations: 76.78 kB / 4.119 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006961/11.96, allocations: 2.769 MB / 4.122 GB, free: 37.28 MB / 0.5573 GB 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.01967/11.98, allocations: 15.73 MB / 4.137 GB, free: 26.37 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005357/11.99, allocations: 1.447 MB / 4.138 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/11.99, allocations: 0.6921 MB / 4.139 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/11.99, allocations: 49.98 kB / 4.139 GB, free: 25.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 3.016e-06/11.99, allocations: 2.375 kB / 4.139 GB, free: 25.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.0163/12.01, allocations: 5.377 MB / 4.144 GB, free: 25.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/12.01, allocations: 168.7 kB / 4.145 GB, free: 24.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/12.01, allocations: 1.27 MB / 4.146 GB, free: 24.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/12.01, allocations: 51.98 kB / 4.146 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/12.01, allocations: 0.9409 MB / 4.147 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/12.01, allocations: 418.8 kB / 4.147 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/12.01, allocations: 43.09 kB / 4.147 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001198/12.01, allocations: 395.7 kB / 4.148 GB, free: 23.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/12.01, allocations: 0.7024 MB / 4.148 GB, free: 23.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/12.01, allocations: 1.946 MB / 4.15 GB, free: 21.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/12.02, allocations: 1.036 MB / 4.151 GB, free: 21.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/12.02, allocations: 15.53 kB / 4.151 GB, free: 21.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005612/12.02, allocations: 2.891 MB / 4.154 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/12.02, allocations: 24.66 kB / 4.154 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/12.02, allocations: 41.75 kB / 4.154 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/12.02, allocations: 443.7 kB / 4.154 GB, free: 21.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/12.02, allocations: 0.5263 MB / 4.155 GB, free: 21.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/12.03, allocations: 2.736 MB / 4.158 GB, free: 19.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/12.03, allocations: 234.4 kB / 4.158 GB, free: 19.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/12.03, allocations: 136.9 kB / 4.158 GB, free: 19.64 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 () * 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.001052/12.03, allocations: 0.5385 MB / 4.159 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/12.03, allocations: 172.8 kB / 4.159 GB, free: 19.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/12.04, allocations: 5.079 MB / 4.164 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.434e-05/12.04, allocations: 49.08 kB / 4.164 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/12.04, allocations: 0 / 4.164 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/12.04, allocations: 7.312 kB / 4.164 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/12.05, allocations: 7.18 MB / 4.171 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/12.05, allocations: 7.859 kB / 4.171 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/12.05, allocations: 272.5 kB / 4.171 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/12.05, allocations: 439.1 kB / 4.171 GB, free: 18.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/12.05, allocations: 31.66 kB / 4.171 GB, free: 18.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/12.05, allocations: 2.777 MB / 4.174 GB, free: 16.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/12.05, allocations: 2.969 kB / 4.174 GB, free: 16.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006357/12.06, allocations: 4.335 MB / 4.178 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/12.06, allocations: 0.5594 MB / 4.179 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007341/12.06, allocations: 24.66 kB / 4.179 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/12.06, allocations: 145 kB / 4.179 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/12.06, allocations: 110.4 kB / 4.179 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/12.06, allocations: 49.42 kB / 4.179 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002273/12.06, allocations: 1.214 MB / 4.18 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/12.06, allocations: 0.6562 kB / 4.18 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008936/12.07, allocations: 1.507 MB / 4.182 GB, free: 14.72 MB / 0.5573 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 (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.01716/12.09, allocations: 7.508 MB / 4.189 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005315/12.1, allocations: 2.287 MB / 4.191 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/12.1, allocations: 3.281 kB / 4.191 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/12.1, allocations: 1.371 MB / 4.193 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/12.1, allocations: 0.8622 MB / 4.194 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04649/12.15, allocations: 43.12 MB / 4.236 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/12.15, allocations: 1.693 MB / 4.237 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002928/12.15, allocations: 0.9567 MB / 4.238 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/12.16, allocations: 0.9344 MB / 4.239 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.843e-06/12.16, allocations: 0 / 4.239 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6018/12.76, allocations: 89.73 MB / 4.327 GB, free: 67.76 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/12.76, allocations: 264.4 kB / 4.327 GB, free: 67.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.804/18.56, allocations: 0 / 4.327 GB, free: 67.4 MB / 0.5886 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