Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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.002265/0.002265, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.029/2.029, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00116/0.00116, allocations: 95.28 kB / 270.9 MB, free: 8.367 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.595/0.595, allocations: 43.54 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005529, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1453, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.014/3.16, allocations: 0.8671 GB / 1.346 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/3.16, allocations: 79.23 kB / 1.346 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4129/3.573, allocations: 110.7 MB / 1.454 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.335e-06/3.573, allocations: 0 / 1.454 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.798e-05/3.573, allocations: 4 kB / 1.454 GB, free: 14.13 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003729/3.577, allocations: 0.9397 MB / 1.455 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/3.577, allocations: 8.031 kB / 1.455 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/3.577, allocations: 86.53 kB / 1.455 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/3.593, allocations: 1.266 MB / 1.456 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/3.595, allocations: 378.5 kB / 1.457 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/3.595, allocations: 131.7 kB / 1.457 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/3.595, allocations: 36 kB / 1.457 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/3.6, allocations: 1.415 MB / 1.458 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/3.6, allocations: 0 / 1.458 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/3.6, allocations: 20 kB / 1.458 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.428e-05/3.6, allocations: 48.97 kB / 1.458 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006812/3.607, allocations: 2.139 MB / 1.46 GB, free: 7.523 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005062/3.612, allocations: 3.012 MB / 1.463 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/3.612, allocations: 114.5 kB / 1.464 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/3.614, allocations: 1.161 MB / 1.465 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/3.614, allocations: 38.52 kB / 1.465 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/3.614, allocations: 0 / 1.465 GB, free: 2.734 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.002214/3.617, allocations: 402.1 kB / 1.465 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/3.617, allocations: 51.41 kB / 1.465 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/3.617, allocations: 311.3 kB / 1.465 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/3.617, allocations: 29.7 kB / 1.465 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/3.617, allocations: 415.9 kB / 1.466 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/3.617, allocations: 75.09 kB / 1.466 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/3.617, allocations: 12 kB / 1.466 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/3.618, allocations: 338.8 kB / 1.466 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/3.618, allocations: 109.9 kB / 1.466 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/3.618, allocations: 0.5384 MB / 1.467 GB, free: 248 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/3.619, allocations: 207.8 kB / 1.467 GB, free: 40 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/3.619, allocations: 4 kB / 1.467 GB, free: 36 kB / 0.5105 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.343/3.962, allocations: 0.6466 MB / 1.468 GB, free: 131 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/3.962, allocations: 11.59 kB / 1.468 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/3.962, allocations: 20.81 kB / 1.468 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-05/3.962, allocations: 26.28 kB / 1.468 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/3.963, allocations: 176.8 kB / 1.468 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000387/3.963, allocations: 0.6113 MB / 1.469 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/3.964, allocations: 96.3 kB / 1.469 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/3.964, allocations: 61.83 kB / 1.469 GB, free: 130.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003646/3.965, allocations: 201.8 kB / 1.469 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/3.965, allocations: 35.34 kB / 1.469 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/3.966, allocations: 240.8 kB / 1.469 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/3.966, allocations: 1.406 kB / 1.469 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/3.966, allocations: 4.328 kB / 1.469 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/3.966, allocations: 1.484 kB / 1.469 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/3.967, allocations: 0.7909 MB / 1.47 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/3.967, allocations: 1.5 kB / 1.47 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/3.968, allocations: 37.22 kB / 1.47 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/3.968, allocations: 9.953 kB / 1.47 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/3.968, allocations: 5.75 kB / 1.47 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002755/3.968, allocations: 0.5905 MB / 1.471 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/3.968, allocations: 8 kB / 1.471 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/3.968, allocations: 344.5 kB / 1.471 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/3.969, allocations: 131.4 kB / 1.471 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/3.969, allocations: 5.719 kB / 1.471 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/3.969, allocations: 10.83 kB / 1.471 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/3.969, allocations: 14.22 kB / 1.471 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/3.969, allocations: 17.5 kB / 1.471 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003587/3.97, allocations: 217.6 kB / 1.471 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/3.97, allocations: 0 / 1.471 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002447/3.972, allocations: 463.1 kB / 1.472 GB, free: 128.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005063/3.977, allocations: 2.229 MB / 1.474 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001173/3.978, allocations: 330.9 kB / 1.474 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/3.979, allocations: 1.312 kB / 1.474 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/3.979, allocations: 57.67 kB / 1.474 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/3.98, allocations: 61.91 kB / 1.474 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1923/4.172, allocations: 64.26 MB / 1.537 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/4.172, allocations: 0.7982 MB / 1.538 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/4.173, allocations: 136.2 kB / 1.538 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/4.173, allocations: 0 / 1.538 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.613/7.786, allocations: 15.19 MB / 1.553 GB, free: 108.8 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat