Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001831/0.001831, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008817/0.0008816, allocations: 87.55 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3526/0.3526, allocations: 43.47 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.556e-05, allocations: 0 / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.162/7.301, allocations: 2.765 GB / 3.238 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/7.302, allocations: 84.95 kB / 3.238 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.681/10.98, allocations: 0.8077 GB / 4.046 GB, free: 43.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.953e-06/10.98, allocations: 0 / 4.046 GB, free: 43.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001262/10.98, allocations: 51.31 kB / 4.046 GB, free: 43.09 MB / 0.5261 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.01226/10.99, allocations: 2.967 MB / 4.049 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/11, allocations: 16.59 kB / 4.049 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009272/11, allocations: 262.2 kB / 4.049 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/11, allocations: 0.8483 MB / 4.05 GB, free: 41.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/11.01, allocations: 1.109 MB / 4.051 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/11.01, allocations: 458.8 kB / 4.052 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/11.01, allocations: 164.9 kB / 4.052 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006326/11.01, allocations: 3.134 MB / 4.055 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.826e-05/11.01, allocations: 16.73 kB / 4.055 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/11.01, allocations: 86.17 kB / 4.055 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.365e-05/11.01, allocations: 81.66 kB / 4.055 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/11.02, allocations: 2.557 MB / 4.057 GB, free: 40.09 MB / 0.5261 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.0172/11.04, allocations: 15.74 MB / 4.073 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/11.04, allocations: 1.344 MB / 4.074 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/11.04, allocations: 441.2 kB / 4.075 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/11.04, allocations: 0.6898 MB / 4.075 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/11.04, allocations: 50.03 kB / 4.075 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.106e-06/11.04, allocations: 0 / 4.075 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.01378/11.06, allocations: 4.538 MB / 4.08 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/11.06, allocations: 167.8 kB / 4.08 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/11.06, allocations: 1.257 MB / 4.081 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/11.06, allocations: 50.92 kB / 4.081 GB, free: 27.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008511/11.06, allocations: 0.9357 MB / 4.082 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/11.06, allocations: 416.4 kB / 4.082 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/11.06, allocations: 48.59 kB / 4.082 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001771/11.06, allocations: 402.1 kB / 4.083 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/11.06, allocations: 0.5514 MB / 4.083 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/11.06, allocations: 1.787 MB / 4.085 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/11.07, allocations: 0.9045 MB / 4.086 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.814e-05/11.07, allocations: 14.31 kB / 4.086 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004791/11.07, allocations: 2.574 MB / 4.089 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/11.07, allocations: 22.28 kB / 4.089 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.513e-05/11.07, allocations: 43.25 kB / 4.089 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/11.07, allocations: 449 kB / 4.089 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/11.07, allocations: 0.5248 MB / 4.09 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/11.08, allocations: 2.725 MB / 4.092 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/11.08, allocations: 227.5 kB / 4.092 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/11.08, allocations: 140.8 kB / 4.093 GB, free: 22.02 MB / 0.5261 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.0005841/11.08, allocations: 299.6 kB / 4.093 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/11.08, allocations: 172.2 kB / 4.093 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005882/11.09, allocations: 4.802 MB / 4.098 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-05/11.09, allocations: 47.91 kB / 4.098 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/11.09, allocations: 3.719 kB / 4.098 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/11.09, allocations: 7.641 kB / 4.098 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009437/11.09, allocations: 6.889 MB / 4.104 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/11.09, allocations: 3.625 kB / 4.104 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/11.1, allocations: 274.3 kB / 4.105 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/11.1, allocations: 442.1 kB / 4.105 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/11.1, allocations: 28.06 kB / 4.105 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/11.1, allocations: 2.773 MB / 4.108 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/11.1, allocations: 7.062 kB / 4.108 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004829/11.1, allocations: 3.909 MB / 4.112 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/11.11, allocations: 0.5556 MB / 4.112 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/11.11, allocations: 25.12 kB / 4.112 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/11.11, allocations: 149.4 kB / 4.112 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/11.11, allocations: 115.8 kB / 4.113 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/11.11, allocations: 48.97 kB / 4.113 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002318/11.11, allocations: 1.189 MB / 4.114 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/11.11, allocations: 0 / 4.114 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008241/11.12, allocations: 1.499 MB / 4.115 GB, free: 11.11 MB / 0.5261 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.01601/11.13, allocations: 7.059 MB / 4.122 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004293/11.14, allocations: 2 MB / 4.124 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/11.14, allocations: 0.625 kB / 4.124 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/11.14, allocations: 1.231 MB / 4.125 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/11.15, allocations: 0.8606 MB / 4.126 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/11.16, allocations: 4.528 MB / 4.131 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/11.16, allocations: 1.702 MB / 4.132 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00287/11.17, allocations: 0.9697 MB / 4.133 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/11.17, allocations: 0.9335 MB / 4.134 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of SimCode: time 2.104e-06/11.17, allocations: 0 / 4.134 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6275/11.8, allocations: 93.92 MB / 4.226 GB, free: 41.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/11.8, allocations: 235.9 kB / 4.226 GB, free: 41.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.062/16.86, allocations: 0 / 4.226 GB, free: 41.29 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat