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.001695/0.0017, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.101/2.101, allocations: 205.4 MB / 222.5 MB, free: 13.62 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.001209/0.001208, allocations: 102.8 kB / 270.9 MB, free: 13.14 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.2969/0.2969, allocations: 43.56 MB / 362.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004744, allocations: 12 kB / 431.5 MB, free: 20.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 58.85 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5912/0.7168, allocations: 148.6 MB / 0.624 GB, free: 5.875 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.7269, allocations: 3.313 MB / 0.6272 GB, free: 2.555 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.7276, allocations: 11.88 kB / 0.6272 GB, free: 2.543 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.7288, allocations: 155.3 kB / 0.6274 GB, free: 2.391 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.7302, allocations: 223.3 kB / 0.6276 GB, free: 2.172 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009863/0.7402, allocations: 1.6 MB / 0.6292 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.742, allocations: 0.5433 MB / 0.6297 GB, free: 24 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.7432, allocations: 261.8 kB / 0.6299 GB, free: 15.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/0.7498, allocations: 1.224 MB / 0.6311 GB, free: 14.54 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008813/0.7507, allocations: 235.2 kB / 0.6314 GB, free: 14.31 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.751, allocations: 20 kB / 0.6314 GB, free: 14.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009687/0.7607, allocations: 2.501 MB / 0.6338 GB, free: 11.79 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006143/0.7614, allocations: 163.5 kB / 0.634 GB, free: 11.63 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.7618, allocations: 113.5 kB / 0.6341 GB, free: 11.51 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.7672, allocations: 1.338 MB / 0.6354 GB, free: 10.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7672, allocations: 4 kB / 0.6354 GB, free: 10.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.7673, allocations: 3.938 kB / 0.6354 GB, free: 10.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.392e-05/0.7673, allocations: 0 / 0.6354 GB, free: 10.16 MB / 442.7 MB 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.003859/0.7712, allocations: 0.9663 MB / 0.6363 GB, free: 9.133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.7713, allocations: 8.031 kB / 0.6364 GB, free: 9.125 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003475/0.7716, allocations: 78.53 kB / 0.6364 GB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005999/0.7722, allocations: 59.42 kB / 0.6365 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.7735, allocations: 354.1 kB / 0.6368 GB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.7736, allocations: 29 kB / 0.6368 GB, free: 8.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.7738, allocations: 36 kB / 0.6369 GB, free: 8.535 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.7762, allocations: 0.5198 MB / 0.6374 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.7764, allocations: 3.984 kB / 0.6374 GB, free: 7.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.7765, allocations: 16 kB / 0.6374 GB, free: 7.965 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.7765, allocations: 20 kB / 0.6374 GB, free: 7.945 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.7786, allocations: 0.4957 MB / 0.6379 GB, free: 7.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007101/0.7858, allocations: 1.982 MB / 0.6398 GB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.7879, allocations: 456.8 kB / 0.6403 GB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/0.7898, allocations: 0.9455 MB / 0.6412 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.79, allocations: 38.56 kB / 0.6412 GB, free: 3.637 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 4.709e-06/0.79, allocations: 0 / 0.6412 GB, free: 3.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.003329/0.7933, allocations: 0.5139 MB / 0.6417 GB, free: 3.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7935, allocations: 106.8 kB / 0.6418 GB, free: 2.988 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009219/0.7944, allocations: 401.5 kB / 0.6422 GB, free: 2.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.7946, allocations: 33.7 kB / 0.6423 GB, free: 2.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.7949, allocations: 266.6 kB / 0.6425 GB, free: 2.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.795, allocations: 106.5 kB / 0.6426 GB, free: 2.184 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.7951, allocations: 4 kB / 0.6426 GB, free: 2.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7952, allocations: 326.8 kB / 0.6429 GB, free: 1.852 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.7959, allocations: 156.6 kB / 0.6431 GB, free: 1.699 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.7966, allocations: 266 kB / 0.6433 GB, free: 1.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.7973, allocations: 239.3 kB / 0.6436 GB, free: 1.148 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.7974, allocations: 4 kB / 0.6436 GB, free: 1.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001753/0.7991, allocations: 0.5356 MB / 0.6441 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.72e-05/0.7993, allocations: 66.05 kB / 0.6442 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.7993, allocations: 4 kB / 0.6442 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.7993, allocations: 4 kB / 0.6442 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.8001, allocations: 87.83 kB / 0.6442 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.193e-05/0.8002, allocations: 8 kB / 0.6443 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.8008, allocations: 63.69 kB / 0.6443 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.801, allocations: 23.98 kB / 0.6443 GB, free: 336 kB / 442.7 MB 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 () * Number of clocked 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.0004052/0.8014, allocations: 185.7 kB / 0.6445 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.8016, allocations: 43.44 kB / 0.6446 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.8034, allocations: 0.5029 MB / 0.645 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8034, allocations: 4 kB / 0.6451 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.8035, allocations: 0 / 0.6451 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.8035, allocations: 0 / 0.6451 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/0.8085, allocations: 2.441 MB / 0.6474 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.8086, allocations: 4 kB / 0.6474 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.8092, allocations: 67.89 kB / 0.6475 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.998e-05/0.8092, allocations: 7.953 kB / 0.6475 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.8093, allocations: 8 kB / 0.6475 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.8093, allocations: 4 kB / 0.6475 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.8093, allocations: 4 kB / 0.6475 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.8108, allocations: 0.7388 MB / 0.6482 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.8111, allocations: 148.4 kB / 0.6484 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.8112, allocations: 8 kB / 0.6484 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008312/0.8121, allocations: 23.97 kB / 0.6484 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.8123, allocations: 31.91 kB / 0.6485 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/0.8124, allocations: 27.94 kB / 0.6485 GB, free: 11.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006736/0.813, allocations: 351.1 kB / 0.6488 GB, free: 11.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8131, allocations: 0 / 0.6488 GB, free: 11.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00181/0.8149, allocations: 375.6 kB / 0.6492 GB, free: 10.91 MB / 458.7 MB 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 () * Number of clocked 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.004454/0.8194, allocations: 2.3 MB / 0.6514 GB, free: 8.535 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.821, allocations: 471.6 kB / 0.6519 GB, free: 8.051 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.8211, allocations: 12 kB / 0.6519 GB, free: 8.039 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.8217, allocations: 167.8 kB / 0.652 GB, free: 7.875 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.8242, allocations: 242.3 kB / 0.6523 GB, free: 7.641 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.8291, allocations: 3.612 MB / 0.6558 GB, free: 3.891 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.8298, allocations: 0.8471 MB / 0.6566 GB, free: 3.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.8303, allocations: 147.4 kB / 0.6568 GB, free: 2.875 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/0.8303, allocations: 0 / 0.6568 GB, free: 2.875 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.33/4.161, allocations: 14 MB / 0.6704 GB, free: 4.898 MB / 474.7 MB (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