Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",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.00232/0.00232, 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.264/2.264, 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.001176/0.001176, allocations: 86.64 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.2921/0.2921, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.309e-05, allocations: 8 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.05/11.18, allocations: 3.574 GB / 4.047 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/11.18, allocations: 91.53 kB / 4.047 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.824/13, allocations: 305 MB / 4.345 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/13, allocations: 0 / 4.345 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.575e-05/13, allocations: 15.06 kB / 4.345 GB, free: 91.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00586/13.01, allocations: 1.598 MB / 4.346 GB, free: 90.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/13.01, allocations: 11.31 kB / 4.346 GB, free: 90.51 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/13.01, allocations: 81.81 kB / 4.346 GB, free: 90.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/13.01, allocations: 51.75 kB / 4.346 GB, free: 90.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/13.01, allocations: 369.6 kB / 4.347 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/13.01, allocations: 31.12 kB / 4.347 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/13.01, allocations: 36 kB / 4.347 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/13.01, allocations: 489.4 kB / 4.347 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/13.01, allocations: 0 / 4.347 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/13.01, allocations: 15.31 kB / 4.347 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/13.01, allocations: 11.09 kB / 4.347 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/13.01, allocations: 463.8 kB / 4.348 GB, free: 90.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/13.01, allocations: 1.96 MB / 4.35 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/13.01, allocations: 449.6 kB / 4.35 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/13.01, allocations: 171.8 kB / 4.35 GB, free: 88.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009413/13.02, allocations: 0.955 MB / 4.351 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/13.02, allocations: 37.72 kB / 4.351 GB, free: 87.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.825e-06/13.02, allocations: 0 / 4.351 GB, free: 87.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.001059/13.02, allocations: 343.2 kB / 4.351 GB, free: 87.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/13.02, allocations: 113.5 kB / 4.352 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/13.02, allocations: 346.7 kB / 4.352 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/13.02, allocations: 33.45 kB / 4.352 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/13.02, allocations: 269.5 kB / 4.352 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/13.02, allocations: 103.7 kB / 4.352 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/13.02, allocations: 14.06 kB / 4.352 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/13.02, allocations: 322.3 kB / 4.353 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/13.02, allocations: 137.3 kB / 4.353 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/13.02, allocations: 243.7 kB / 4.353 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/13.02, allocations: 230.2 kB / 4.353 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/13.02, allocations: 0 / 4.353 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001207/13.02, allocations: 0.497 MB / 4.354 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/13.02, allocations: 66.11 kB / 4.354 GB, free: 86.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/13.02, allocations: 3.906 kB / 4.354 GB, free: 86.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/13.02, allocations: 10.81 kB / 4.354 GB, free: 86.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/13.02, allocations: 83.72 kB / 4.354 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/13.02, allocations: 7.719 kB / 4.354 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/13.02, allocations: 56.91 kB / 4.354 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.377e-05/13.02, allocations: 27.03 kB / 4.354 GB, free: 86.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001671/13.02, allocations: 122.9 kB / 4.354 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/13.02, allocations: 47 kB / 4.354 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/13.02, allocations: 483.2 kB / 4.355 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/13.02, allocations: 7.188 kB / 4.355 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/13.02, allocations: 3.125 kB / 4.355 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/13.02, allocations: 3.938 kB / 4.355 GB, free: 86.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/13.03, allocations: 2.412 MB / 4.357 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/13.03, allocations: 3.594 kB / 4.357 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/13.03, allocations: 65.17 kB / 4.357 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/13.03, allocations: 3.969 kB / 4.357 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/13.03, allocations: 7.844 kB / 4.357 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/13.03, allocations: 11.8 kB / 4.357 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/13.03, allocations: 5.75 kB / 4.357 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/13.03, allocations: 0.6981 MB / 4.358 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/13.03, allocations: 141.6 kB / 4.358 GB, free: 83.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/13.03, allocations: 7.594 kB / 4.358 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/13.03, allocations: 26.55 kB / 4.358 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/13.03, allocations: 27.16 kB / 4.358 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/13.03, allocations: 24.22 kB / 4.358 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005914/13.03, allocations: 353.9 kB / 4.358 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/13.03, allocations: 3.656 kB / 4.358 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002348/13.03, allocations: 476.2 kB / 4.359 GB, free: 82.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00443/13.04, allocations: 2.931 MB / 4.362 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001083/13.04, allocations: 441.2 kB / 4.362 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/13.04, allocations: 3.062 kB / 4.362 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/13.04, allocations: 147.3 kB / 4.362 GB, free: 80.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/13.04, allocations: 251.7 kB / 4.362 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/13.04, allocations: 0.8637 MB / 4.363 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/13.05, allocations: 0.8487 MB / 4.364 GB, free: 79.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/13.05, allocations: 151.4 kB / 4.364 GB, free: 79.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/13.05, allocations: 0 / 4.364 GB, free: 79.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.057/16.1, allocations: 17.45 MB / 4.381 GB, free: 71.27 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat