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.002251/0.002259, 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.146/2.146, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00111/0.00111, allocations: 85.38 kB / 262.1 MB, free: 13.86 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.3283/0.3283, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.637e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4166, allocations: 58.85 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.561/2.978, allocations: 0.8664 GB / 1.332 GB, free: 54.47 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/2.978, allocations: 68.52 kB / 1.332 GB, free: 54.44 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.803/3.781, allocations: 109.1 MB / 1.439 GB, free: 153.4 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.044e-06/3.781, allocations: 0 / 1.439 GB, free: 153.4 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 2.098e-05/3.781, allocations: 6.281 kB / 1.439 GB, free: 153.4 MB / 0.4952 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.004374/3.786, allocations: 0.9307 MB / 1.44 GB, free: 152.7 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/3.786, allocations: 7.688 kB / 1.44 GB, free: 152.7 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/3.803, allocations: 1.264 MB / 1.441 GB, free: 152.1 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/3.804, allocations: 391.7 kB / 1.442 GB, free: 151.8 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/3.804, allocations: 119.2 kB / 1.442 GB, free: 151.6 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/3.804, allocations: 18.69 kB / 1.442 GB, free: 151.6 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004318/3.809, allocations: 1.696 MB / 1.443 GB, free: 150.9 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/3.811, allocations: 0.8743 MB / 1.444 GB, free: 150.1 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/3.811, allocations: 0 / 1.444 GB, free: 150.1 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/3.811, allocations: 0 / 1.444 GB, free: 150.1 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.472e-05/3.811, allocations: 52.75 kB / 1.444 GB, free: 150 MB / 0.4952 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.006606/3.818, allocations: 3.664 MB / 1.448 GB, free: 146 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/3.818, allocations: 66.58 kB / 1.448 GB, free: 145.9 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/3.818, allocations: 24.92 kB / 1.448 GB, free: 145.9 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/3.818, allocations: 231 kB / 1.448 GB, free: 145.6 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/3.818, allocations: 38.52 kB / 1.448 GB, free: 145.6 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=10): time 2.956e-06/3.818, allocations: 0 / 1.448 GB, free: 145.6 MB / 0.4952 GB Notification: Performance of matching and sorting (n=11): time 0.007463/3.826, allocations: 0.8392 MB / 1.449 GB, free: 144.7 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/3.826, allocations: 55.59 kB / 1.449 GB, free: 144.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/3.826, allocations: 325.9 kB / 1.449 GB, free: 144.3 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/3.826, allocations: 37.64 kB / 1.449 GB, free: 144.3 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/3.827, allocations: 447.4 kB / 1.45 GB, free: 143.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/3.827, allocations: 51.38 kB / 1.45 GB, free: 143.8 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/3.827, allocations: 0 / 1.45 GB, free: 143.8 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/3.827, allocations: 338.8 kB / 1.45 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/3.827, allocations: 101.5 kB / 1.45 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/3.828, allocations: 0.5515 MB / 1.451 GB, free: 142.6 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000931/3.829, allocations: 235.6 kB / 1.451 GB, free: 142.3 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/3.829, allocations: 7.984 kB / 1.451 GB, free: 142.3 MB / 0.4952 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001853/3.83, allocations: 0.6141 MB / 1.452 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/3.831, allocations: 19.08 kB / 1.452 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/3.831, allocations: 16 kB / 1.452 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-05/3.831, allocations: 24 kB / 1.452 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/3.832, allocations: 204.3 kB / 1.452 GB, free: 141.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003983/3.832, allocations: 0.6133 MB / 1.452 GB, free: 140.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/3.833, allocations: 19.94 kB / 1.453 GB, free: 140.8 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/3.833, allocations: 67.98 kB / 1.453 GB, free: 140.7 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.000175/3.833, allocations: 144.6 kB / 1.453 GB, free: 140.6 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003824/3.834, allocations: 113.2 kB / 1.453 GB, free: 140.5 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/3.834, allocations: 35.72 kB / 1.453 GB, free: 140.4 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/3.834, allocations: 157.5 kB / 1.453 GB, free: 140.3 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/3.834, allocations: 0 / 1.453 GB, free: 140.3 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/3.834, allocations: 0 / 1.453 GB, free: 140.3 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/3.834, allocations: 11.92 kB / 1.453 GB, free: 140.3 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/3.836, allocations: 0.5523 MB / 1.454 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/3.836, allocations: 0 / 1.454 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/3.836, allocations: 43.05 kB / 1.454 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/3.836, allocations: 3.984 kB / 1.454 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/3.836, allocations: 8 kB / 1.454 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002824/3.836, allocations: 0.5939 MB / 1.454 GB, free: 139 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/3.836, allocations: 3.938 kB / 1.454 GB, free: 139 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/3.837, allocations: 248.3 kB / 1.454 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/3.837, allocations: 128.7 kB / 1.455 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/3.837, allocations: 0 / 1.455 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/3.837, allocations: 4 kB / 1.455 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/3.838, allocations: 11.98 kB / 1.455 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/3.838, allocations: 15.98 kB / 1.455 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0003245/3.838, allocations: 220.6 kB / 1.455 GB, free: 138.3 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.71e-07/3.838, allocations: 4 kB / 1.455 GB, free: 138.3 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002836/3.841, allocations: 483.5 kB / 1.455 GB, free: 137.8 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.005968/3.847, allocations: 2.139 MB / 1.457 GB, free: 135.8 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0009826/3.848, allocations: 295.7 kB / 1.458 GB, free: 135.5 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/3.848, allocations: 0 / 1.458 GB, free: 135.5 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/3.848, allocations: 52.09 kB / 1.458 GB, free: 135.4 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/3.849, allocations: 37.16 kB / 1.458 GB, free: 135.4 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1705/4.019, allocations: 51.54 MB / 1.508 GB, free: 83.59 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/4.02, allocations: 0.7957 MB / 1.509 GB, free: 82.77 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/4.02, allocations: 135.4 kB / 1.509 GB, free: 82.64 MB / 0.4952 GB Notification: Performance of SimCode: time 1.022e-06/4.02, allocations: 3.938 kB / 1.509 GB, free: 82.63 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.206/7.226, allocations: 17.61 MB / 1.526 GB, free: 65 MB / 0.4952 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