Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir",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.001509/0.001509, allocations: 182.6 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.143/2.143, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001193/0.001192, allocations: 93.5 kB / 270.9 MB, free: 8.355 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.556/0.556, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006432, allocations: 12 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1337, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.5345/0.6682, allocations: 126.9 MB / 0.6028 GB, free: 7.305 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.6705, allocations: 1.03 MB / 0.6038 GB, free: 6.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.6706, allocations: 4 kB / 0.6038 GB, free: 6.375 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.6709, allocations: 28.86 kB / 0.6038 GB, free: 6.355 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.6739, allocations: 0.6398 MB / 0.6044 GB, free: 5.863 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.667e-06/0.6739, allocations: 0.6562 kB / 0.6044 GB, free: 5.863 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.674, allocations: 21.84 kB / 0.6045 GB, free: 5.844 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.6741, allocations: 11.98 kB / 0.6045 GB, free: 5.832 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.6742, allocations: 15.36 kB / 0.6045 GB, free: 5.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.6742, allocations: 8 kB / 0.6045 GB, free: 5.812 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.6743, allocations: 0 / 0.6045 GB, free: 5.812 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004696/0.679, allocations: 1.528 MB / 0.606 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.6791, allocations: 17.25 kB / 0.606 GB, free: 4.621 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.6791, allocations: 29.7 kB / 0.606 GB, free: 4.586 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.6809, allocations: 493.9 kB / 0.6065 GB, free: 4.133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6809, allocations: 0 / 0.6065 GB, free: 4.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6809, allocations: 0 / 0.6065 GB, free: 4.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.6809, allocations: 0 / 0.6065 GB, free: 4.133 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008395/0.6818, allocations: 456.8 kB / 0.6069 GB, free: 3.641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6818, allocations: 8.031 kB / 0.607 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.6819, allocations: 34.56 kB / 0.607 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.6819, allocations: 9.969 kB / 0.607 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.6821, allocations: 171 kB / 0.6072 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.6821, allocations: 0 / 0.6072 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.6821, allocations: 8 kB / 0.6072 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.6823, allocations: 62.72 kB / 0.6072 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6824, allocations: 0 / 0.6072 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.6824, allocations: 0 / 0.6072 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.6824, allocations: 11.94 kB / 0.6072 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.6826, allocations: 55.91 kB / 0.6073 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.6831, allocations: 300.7 kB / 0.6076 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.6832, allocations: 34.59 kB / 0.6076 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.6834, allocations: 93.25 kB / 0.6077 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.6835, allocations: 34.56 kB / 0.6077 GB, free: 2.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.624e-06/0.6835, allocations: 0 / 0.6077 GB, free: 2.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001986/0.6837, allocations: 45.69 kB / 0.6078 GB, free: 2.645 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.6837, allocations: 55.41 kB / 0.6078 GB, free: 2.578 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.6838, allocations: 102 kB / 0.6079 GB, free: 2.469 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.6839, allocations: 29.7 kB / 0.608 GB, free: 2.434 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.684, allocations: 166.2 kB / 0.6081 GB, free: 2.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.684, allocations: 3.906 kB / 0.6081 GB, free: 2.266 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.684, allocations: 8 kB / 0.6081 GB, free: 2.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6842, allocations: 314.8 kB / 0.6084 GB, free: 1.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.6842, allocations: 4 kB / 0.6084 GB, free: 1.938 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.6843, allocations: 40.36 kB / 0.6085 GB, free: 1.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.6843, allocations: 11.98 kB / 0.6085 GB, free: 1.875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6843, allocations: 0 / 0.6085 GB, free: 1.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001503/0.6845, allocations: 69.56 kB / 0.6085 GB, free: 1.801 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6845, allocations: 4 kB / 0.6085 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.6846, allocations: 8.094 kB / 0.6086 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6846, allocations: 3.938 kB / 0.6086 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.6847, allocations: 15.94 kB / 0.6086 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6847, allocations: 5.875 kB / 0.6086 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.6848, allocations: 7.844 kB / 0.6086 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.6848, allocations: 4 kB / 0.6086 GB, free: 1.754 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 0.0001002/0.6849, allocations: 117.8 kB / 0.6087 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.685, allocations: 3.953 kB / 0.6087 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.6852, allocations: 69.11 kB / 0.6088 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.6852, allocations: 0 / 0.6088 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6852, allocations: 0 / 0.6088 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6852, allocations: 0 / 0.6088 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.6855, allocations: 157.7 kB / 0.6089 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6855, allocations: 0 / 0.6089 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.6855, allocations: 4 kB / 0.6089 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.6856, allocations: 4.516 kB / 0.6089 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.6856, allocations: 8 kB / 0.6089 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6856, allocations: 0 / 0.6089 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6856, allocations: 2.344 kB / 0.6089 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.6858, allocations: 148.3 kB / 0.6091 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.6858, allocations: 81.02 kB / 0.6092 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.6859, allocations: 3.953 kB / 0.6092 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.6859, allocations: 4 kB / 0.6092 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.686, allocations: 4 kB / 0.6092 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.686, allocations: 0 / 0.6092 GB, free: 1.066 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.689e-05/0.686, allocations: 83.27 kB / 0.6092 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6861, allocations: 0 / 0.6092 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006167/0.6867, allocations: 99.86 kB / 0.6093 GB, free: 0.8867 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.001123/0.6878, allocations: 0.8118 MB / 0.6101 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.688, allocations: 28.05 kB / 0.6102 GB, free: 24 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.688, allocations: 4.062 kB / 0.6102 GB, free: 20 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.688, allocations: 4 kB / 0.6102 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.6883, allocations: 11.94 kB / 0.6102 GB, free: 4 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.689, allocations: 257.9 kB / 0.6104 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.6893, allocations: 0.6848 MB / 0.6111 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.6894, allocations: 23.38 kB / 0.6111 GB, free: 14.98 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6894, allocations: 0 / 0.6111 GB, free: 14.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.729/3.418, allocations: 2.614 MB / 0.6137 GB, free: 12.38 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat