Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001443/0.001443, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00117/0.00117, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2883/0.2883, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.97e-05, allocations: 0 / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.147/8.272, allocations: 2.765 GB / 3.238 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/8.273, allocations: 89.23 kB / 3.238 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.556/12.83, allocations: 0.8076 GB / 4.046 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.335e-06/12.83, allocations: 0 / 4.046 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001718/12.83, allocations: 54.27 kB / 4.046 GB, free: 42.61 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.0138/12.84, allocations: 2.967 MB / 4.049 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/12.84, allocations: 7.75 kB / 4.049 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/12.84, allocations: 266.3 kB / 4.049 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009592/12.85, allocations: 0.8475 MB / 4.05 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/12.86, allocations: 1.114 MB / 4.051 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/12.86, allocations: 463.7 kB / 4.052 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008132/12.86, allocations: 169.6 kB / 4.052 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/12.87, allocations: 3.128 MB / 4.055 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-05/12.87, allocations: 17.44 kB / 4.055 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004486/12.87, allocations: 87.38 kB / 4.055 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/12.87, allocations: 81.09 kB / 4.055 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00948/12.88, allocations: 2.559 MB / 4.057 GB, free: 38.84 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.02586/12.91, allocations: 15.73 MB / 4.073 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005374/12.91, allocations: 1.338 MB / 4.074 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/12.91, allocations: 443.1 kB / 4.074 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/12.91, allocations: 0.6937 MB / 4.075 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/12.91, allocations: 48.5 kB / 4.075 GB, free: 24.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.026e-06/12.91, allocations: 0 / 4.075 GB, free: 24.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.02116/12.94, allocations: 4.55 MB / 4.08 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/12.94, allocations: 168.8 kB / 4.08 GB, free: 23.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/12.94, allocations: 1.259 MB / 4.081 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/12.94, allocations: 47.48 kB / 4.081 GB, free: 22.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/12.94, allocations: 0.9306 MB / 4.082 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005028/12.94, allocations: 420 kB / 4.082 GB, free: 21.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/12.94, allocations: 47.62 kB / 4.082 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001525/12.94, allocations: 404.5 kB / 4.083 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/12.94, allocations: 0.5583 MB / 4.083 GB, free: 20.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/12.94, allocations: 1.789 MB / 4.085 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/12.95, allocations: 0.903 MB / 4.086 GB, free: 18.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/12.95, allocations: 11.72 kB / 4.086 GB, free: 18.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.007078/12.95, allocations: 2.503 MB / 4.088 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/12.95, allocations: 24.12 kB / 4.088 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.376e-05/12.95, allocations: 43.38 kB / 4.089 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/12.96, allocations: 438.1 kB / 4.089 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/12.96, allocations: 0.5226 MB / 4.089 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/12.96, allocations: 2.729 MB / 4.092 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/12.97, allocations: 230 kB / 4.092 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004802/12.97, allocations: 140.8 kB / 4.092 GB, free: 15.09 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.0006337/12.97, allocations: 290.6 kB / 4.093 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/12.97, allocations: 176.4 kB / 4.093 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008178/12.98, allocations: 4.798 MB / 4.098 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.745e-05/12.98, allocations: 47.92 kB / 4.098 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/12.98, allocations: 0 / 4.098 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.709e-05/12.98, allocations: 10.16 kB / 4.098 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/12.99, allocations: 6.898 MB / 4.104 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/12.99, allocations: 4 kB / 4.104 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/12.99, allocations: 273 kB / 4.105 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/12.99, allocations: 433 kB / 4.105 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/12.99, allocations: 31.94 kB / 4.105 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/13, allocations: 2.768 MB / 4.108 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/13, allocations: 4 kB / 4.108 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007482/13, allocations: 3.911 MB / 4.112 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/13.01, allocations: 0.5566 MB / 4.112 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006769/13.01, allocations: 24 kB / 4.112 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/13.01, allocations: 153.7 kB / 4.112 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/13.01, allocations: 116 kB / 4.112 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/13.01, allocations: 47.31 kB / 4.112 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003896/13.01, allocations: 1.249 MB / 4.114 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.72e-07/13.01, allocations: 3.938 kB / 4.114 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008704/13.02, allocations: 1.493 MB / 4.115 GB, free: 14.2 MB / 0.5417 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.02151/13.04, allocations: 7.053 MB / 4.122 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00571/13.05, allocations: 1.984 MB / 4.124 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/13.05, allocations: 8.688 kB / 4.124 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/13.05, allocations: 1.218 MB / 4.125 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008137/13.06, allocations: 0.8663 MB / 4.126 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/13.08, allocations: 4.602 MB / 4.131 GB, free: 32 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4279/13.51, allocations: 1.686 MB / 4.132 GB, free: 55.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002077/13.51, allocations: 0.9464 MB / 4.133 GB, free: 55.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.794e-06/13.51, allocations: 0 / 4.133 GB, free: 55.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.725/18.23, allocations: 93.03 MB / 4.224 GB, free: 51.42 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat