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.002101/0.0021, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 92.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2918/0.2918, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.774e-05, allocations: 4.219 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4154, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.538/8.954, allocations: 2.765 GB / 3.231 GB, free: 23.8 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/8.954, allocations: 86.58 kB / 3.231 GB, free: 23.76 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 4.248/13.2, allocations: 0.7998 GB / 4.031 GB, free: 10.3 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.204e-06/13.2, allocations: 0 / 4.031 GB, free: 10.3 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001857/13.2, allocations: 55.7 kB / 4.031 GB, free: 10.25 MB / 0.5265 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.01452/13.22, allocations: 2.965 MB / 4.034 GB, free: 7.242 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/13.22, allocations: 16 kB / 4.034 GB, free: 7.227 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009811/13.23, allocations: 0.8517 MB / 4.034 GB, free: 6.375 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/13.23, allocations: 1.102 MB / 4.035 GB, free: 5.246 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005828/13.23, allocations: 400.4 kB / 4.036 GB, free: 4.793 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005516/13.23, allocations: 100 kB / 4.036 GB, free: 4.695 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006269/13.24, allocations: 1.861 MB / 4.038 GB, free: 2.832 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007167/13.25, allocations: 2.373 MB / 4.04 GB, free: 188 kB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.258e-05/13.25, allocations: 23.73 kB / 4.04 GB, free: 164 kB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003616/13.25, allocations: 8 kB / 4.04 GB, free: 156 kB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/13.25, allocations: 86.64 kB / 4.04 GB, free: 68 kB / 0.5265 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.4572/13.7, allocations: 16.15 MB / 4.056 GB, free: 30.81 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/13.71, allocations: 0.7169 MB / 4.057 GB, free: 30.79 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/13.71, allocations: 389.1 kB / 4.057 GB, free: 30.78 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/13.71, allocations: 0.6836 MB / 4.058 GB, free: 30.21 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/13.71, allocations: 48.2 kB / 4.058 GB, free: 30.17 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=95): time 4.178e-06/13.71, allocations: 2.375 kB / 4.058 GB, free: 30.17 MB / 0.5265 GB Notification: Performance of matching and sorting (n=111): time 0.01773/13.73, allocations: 3.473 MB / 4.061 GB, free: 29.56 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/13.73, allocations: 166.8 kB / 4.061 GB, free: 29.38 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/13.73, allocations: 0.979 MB / 4.062 GB, free: 29.21 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/13.73, allocations: 29.95 kB / 4.062 GB, free: 29.18 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009114/13.73, allocations: 0.9856 MB / 4.063 GB, free: 28.65 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006663/13.73, allocations: 391.6 kB / 4.064 GB, free: 28.43 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/13.73, allocations: 2.812 kB / 4.064 GB, free: 28.43 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002044/13.73, allocations: 401.1 kB / 4.064 GB, free: 28.12 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/13.73, allocations: 0.5115 MB / 4.064 GB, free: 28.11 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/13.74, allocations: 1.732 MB / 4.066 GB, free: 26.54 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/13.74, allocations: 0.8765 MB / 4.067 GB, free: 26.53 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.313e-05/13.74, allocations: 14.31 kB / 4.067 GB, free: 26.53 MB / 0.5265 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.008955/13.75, allocations: 2.242 MB / 4.069 GB, free: 26.4 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/13.75, allocations: 25.23 kB / 4.069 GB, free: 26.4 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.604e-05/13.75, allocations: 43.16 kB / 4.069 GB, free: 26.4 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/13.75, allocations: 419.7 kB / 4.07 GB, free: 26.37 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/13.75, allocations: 0.5244 MB / 4.07 GB, free: 26.37 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/13.76, allocations: 2.792 MB / 4.073 GB, free: 24.28 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/13.76, allocations: 195.9 kB / 4.073 GB, free: 24.27 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006741/13.76, allocations: 141.9 kB / 4.073 GB, free: 24.27 MB / 0.5265 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (source2.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],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,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 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008827/13.76, allocations: 240.3 kB / 4.073 GB, free: 24.13 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005024/13.77, allocations: 1.238 MB / 4.075 GB, free: 23.96 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007544/13.77, allocations: 147.8 kB / 4.075 GB, free: 23.88 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009764/13.78, allocations: 4.2 MB / 4.079 GB, free: 23.39 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/13.78, allocations: 45.83 kB / 4.079 GB, free: 23.38 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/13.78, allocations: 5.844 kB / 4.079 GB, free: 23.38 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/13.78, allocations: 7.828 kB / 4.079 GB, free: 23.38 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/13.79, allocations: 6.131 MB / 4.085 GB, free: 22.75 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/13.79, allocations: 6.125 kB / 4.085 GB, free: 22.75 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/13.79, allocations: 234.5 kB / 4.085 GB, free: 22.75 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/13.8, allocations: 414.9 kB / 4.086 GB, free: 22.72 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/13.8, allocations: 16.28 kB / 4.086 GB, free: 22.72 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/13.8, allocations: 2.883 MB / 4.088 GB, free: 20.62 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/13.8, allocations: 4.938 kB / 4.088 GB, free: 20.62 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006655/13.81, allocations: 3.619 MB / 4.092 GB, free: 19.8 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/13.81, allocations: 0.522 MB / 4.092 GB, free: 19.55 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003917/13.81, allocations: 7.797 kB / 4.092 GB, free: 19.55 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/13.81, allocations: 119.5 kB / 4.093 GB, free: 19.55 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/13.81, allocations: 100.4 kB / 4.093 GB, free: 19.54 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/13.81, allocations: 46.95 kB / 4.093 GB, free: 19.54 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.001739/13.81, allocations: 0.9449 MB / 4.094 GB, free: 19.43 MB / 0.5265 GB Notification: Performance of sort global known variables: time 5.51e-07/13.81, allocations: 0 / 4.094 GB, free: 19.43 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.008313/13.82, allocations: 1.399 MB / 4.095 GB, free: 19.38 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01813/13.84, allocations: 7.229 MB / 4.102 GB, free: 16.99 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.005091/13.84, allocations: 1.831 MB / 4.104 GB, free: 16.95 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/13.84, allocations: 4.375 kB / 4.104 GB, free: 16.95 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/13.85, allocations: 1.116 MB / 4.105 GB, free: 16.94 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/13.85, allocations: 0.5783 MB / 4.106 GB, free: 16.92 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/13.87, allocations: 4.266 MB / 4.11 GB, free: 15.92 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/13.87, allocations: 1.643 MB / 4.111 GB, free: 15.19 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/13.87, allocations: 0.8923 MB / 4.112 GB, free: 15.18 MB / 0.5265 GB Notification: Performance of SimCode: time 1.383e-06/13.87, allocations: 2.969 kB / 4.112 GB, free: 15.18 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.592/18.46, allocations: 88.79 MB / 4.199 GB, free: 10.07 MB / 0.5265 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