Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009121, allocations: 95.53 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.416e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1583, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.11/10.27, allocations: 3.511 GB / 4.013 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/10.27, allocations: 73.23 kB / 4.013 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2032/10.47, allocations: 88.32 MB / 4.1 GB, free: 111 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/10.47, allocations: 0 / 4.1 GB, free: 111 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.452e-05/10.47, allocations: 4 kB / 4.1 GB, free: 111 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003248/10.47, allocations: 1.028 MB / 4.101 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/10.47, allocations: 8.031 kB / 4.101 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.493e-05/10.47, allocations: 74.47 kB / 4.101 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/10.47, allocations: 39.58 kB / 4.101 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/10.47, allocations: 246.7 kB / 4.101 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/10.47, allocations: 131.6 kB / 4.101 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/10.47, allocations: 32 kB / 4.101 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/10.48, allocations: 0.5503 MB / 4.102 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/10.48, allocations: 0 / 4.102 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/10.48, allocations: 12 kB / 4.102 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/10.48, allocations: 36.53 kB / 4.102 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/10.48, allocations: 1.236 MB / 4.103 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/10.48, allocations: 1.913 MB / 4.105 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/10.48, allocations: 260.2 kB / 4.105 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/10.48, allocations: 114.1 kB / 4.105 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00306/10.48, allocations: 3.519 MB / 4.109 GB, free: 101 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/10.48, allocations: 46.5 kB / 4.109 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/10.48, allocations: 0 / 4.109 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001768/10.48, allocations: 0.6479 MB / 4.109 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/10.48, allocations: 59.34 kB / 4.109 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/10.48, allocations: 177.6 kB / 4.109 GB, free: 100 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/10.48, allocations: 37.7 kB / 4.11 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/10.48, allocations: 195.8 kB / 4.11 GB, free: 99.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/10.48, allocations: 157.7 kB / 4.11 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/10.48, allocations: 8 kB / 4.11 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/10.48, allocations: 338.8 kB / 4.11 GB, free: 99.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/10.48, allocations: 97.53 kB / 4.11 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/10.48, allocations: 414.9 kB / 4.111 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/10.49, allocations: 164.7 kB / 4.111 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/10.49, allocations: 4 kB / 4.111 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007655/10.49, allocations: 0.5469 MB / 4.111 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/10.49, allocations: 12 kB / 4.111 GB, free: 97.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/10.49, allocations: 12 kB / 4.111 GB, free: 97.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/10.49, allocations: 16 kB / 4.111 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/10.49, allocations: 199.6 kB / 4.112 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005178/10.49, allocations: 1.192 MB / 4.113 GB, free: 96.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/10.49, allocations: 23.98 kB / 4.113 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/10.49, allocations: 59.98 kB / 4.113 GB, free: 96.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/10.49, allocations: 158.7 kB / 4.113 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/10.49, allocations: 31.61 kB / 4.113 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/10.49, allocations: 0.6973 MB / 4.114 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/10.49, allocations: 4 kB / 4.114 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/10.49, allocations: 3.938 kB / 4.114 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/10.49, allocations: 3.984 kB / 4.114 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/10.49, allocations: 0.6249 MB / 4.114 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/10.49, allocations: 8.062 kB / 4.114 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/10.49, allocations: 91.86 kB / 4.114 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/10.49, allocations: 0 / 4.114 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/10.49, allocations: 8 kB / 4.114 GB, free: 94.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003381/10.49, allocations: 1.172 MB / 4.116 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/10.49, allocations: 8.094 kB / 4.116 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/10.49, allocations: 344.2 kB / 4.116 GB, free: 93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/10.49, allocations: 156.5 kB / 4.116 GB, free: 92.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/10.49, allocations: 8 kB / 4.116 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/10.49, allocations: 15.98 kB / 4.116 GB, free: 92.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/10.49, allocations: 27.92 kB / 4.116 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/10.49, allocations: 8 kB / 4.116 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001554/10.49, allocations: 183.1 kB / 4.116 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/10.49, allocations: 0 / 4.116 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002451/10.49, allocations: 0.5462 MB / 4.117 GB, free: 92.04 MB / 0.5261 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 (33): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003174/10.5, allocations: 2.104 MB / 4.119 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000975/10.5, allocations: 349 kB / 4.119 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/10.5, allocations: 0.875 kB / 4.119 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/10.5, allocations: 127.9 kB / 4.119 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/10.5, allocations: 77.89 kB / 4.119 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/10.61, allocations: 53.55 MB / 4.172 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/10.61, allocations: 0.7815 MB / 4.172 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007881/10.61, allocations: 194.9 kB / 4.173 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/10.61, allocations: 127.4 kB / 4.173 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.774e-06/10.61, allocations: 4 kB / 4.173 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/10.66, allocations: 27.34 MB / 4.199 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/10.66, allocations: 217.4 kB / 4.2 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/13.77, allocations: 4 kB / 4.2 GB, free: 6.656 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat