Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009979/0.000998, allocations: 172.9 kB / 16.58 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.8 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3471/0.3471, allocations: 43.54 MB / 314.6 MB, free: 8.754 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004632, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09456, allocations: 58.87 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3065/0.4011, allocations: 138.1 MB / 0.5673 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.403, allocations: 1.133 MB / 0.5684 GB, free: 344 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.4031, allocations: 0 / 0.5684 GB, free: 344 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.4034, allocations: 19.89 kB / 0.5684 GB, free: 324 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.4052, allocations: 0.6375 MB / 0.5691 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.971e-06/0.4052, allocations: 4 kB / 0.5691 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.4054, allocations: 75.67 kB / 0.5691 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.4054, allocations: 0 / 0.5691 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.4055, allocations: 19.97 kB / 0.5692 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.4055, allocations: 19.92 kB / 0.5692 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.4056, allocations: 0 / 0.5692 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.4081, allocations: 1.44 MB / 0.5706 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.4081, allocations: 15.98 kB / 0.5706 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.4082, allocations: 33.64 kB / 0.5706 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007798/0.409, allocations: 497.4 kB / 0.5711 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.409, allocations: 0 / 0.5711 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.409, allocations: 0 / 0.5711 GB, free: 13.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.409, allocations: 0 / 0.5711 GB, free: 13.6 MB / 446.1 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.0005757/0.4096, allocations: 461.7 kB / 0.5716 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4096, allocations: 8.031 kB / 0.5716 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.4097, allocations: 43.06 kB / 0.5716 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.4097, allocations: 0.7812 kB / 0.5716 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.4098, allocations: 163 kB / 0.5718 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4098, allocations: 9.547 kB / 0.5718 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.4098, allocations: 0 / 0.5718 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.4099, allocations: 71.62 kB / 0.5718 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.41, allocations: 0 / 0.5718 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.41, allocations: 4 kB / 0.5718 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.41, allocations: 15.94 kB / 0.5719 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.257e-05/0.4101, allocations: 47.92 kB / 0.5719 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.4104, allocations: 292.7 kB / 0.5722 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.4105, allocations: 38.59 kB / 0.5722 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.4105, allocations: 12.92 kB / 0.5722 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.4107, allocations: 89.09 kB / 0.5723 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.4107, allocations: 34.56 kB / 0.5723 GB, free: 12.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4107, allocations: 0 / 0.5723 GB, free: 12.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001578/0.4109, allocations: 49.69 kB / 0.5724 GB, free: 12.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.4109, allocations: 59.39 kB / 0.5724 GB, free: 12.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.411, allocations: 97.8 kB / 0.5725 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.411, allocations: 25.7 kB / 0.5726 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.411, allocations: 99.88 kB / 0.5727 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.4111, allocations: 11.89 kB / 0.5727 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.4111, allocations: 4 kB / 0.5727 GB, free: 11.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.4112, allocations: 317.1 kB / 0.573 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.4112, allocations: 4 kB / 0.573 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.353e-05/0.4112, allocations: 35.42 kB / 0.573 GB, free: 11.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.4112, allocations: 16.31 kB / 0.573 GB, free: 11.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4113, allocations: 4 kB / 0.573 GB, free: 11.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.557e-05/0.4114, allocations: 69.5 kB / 0.5731 GB, free: 11.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4114, allocations: 8 kB / 0.5731 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4114, allocations: 48 / 0.5731 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4114, allocations: 3.984 kB / 0.5731 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.4115, allocations: 16 kB / 0.5731 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4115, allocations: 3.984 kB / 0.5731 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.4115, allocations: 11.84 kB / 0.5731 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4115, allocations: 0 / 0.5731 GB, free: 11.27 MB / 446.1 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 6.804e-05/0.4116, allocations: 117.9 kB / 0.5733 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4117, allocations: 12.58 kB / 0.5733 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.4118, allocations: 57.11 kB / 0.5733 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4118, allocations: 0 / 0.5733 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4118, allocations: 0 / 0.5733 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4118, allocations: 0 / 0.5733 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.4119, allocations: 158.4 kB / 0.5735 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.412, allocations: 4.75 kB / 0.5735 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.412, allocations: 8 kB / 0.5735 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.412, allocations: 7.953 kB / 0.5735 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.412, allocations: 0 / 0.5735 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.412, allocations: 0.5 kB / 0.5735 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.412, allocations: 0 / 0.5735 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.166e-05/0.4121, allocations: 139.5 kB / 0.5736 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.4122, allocations: 88.84 kB / 0.5737 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.4122, allocations: 11.95 kB / 0.5737 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.4122, allocations: 4.5 kB / 0.5737 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-06/0.4122, allocations: 0 / 0.5737 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4123, allocations: 4 kB / 0.5737 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.4123, allocations: 79.27 kB / 0.5738 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4123, allocations: 0 / 0.5738 GB, free: 10.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.4127, allocations: 95.86 kB / 0.5739 GB, free: 10.41 MB / 446.1 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.0006375/0.4133, allocations: 0.8068 MB / 0.5747 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.863e-05/0.4134, allocations: 27.92 kB / 0.5747 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4134, allocations: 0 / 0.5747 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.4135, allocations: 7.984 kB / 0.5747 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.4137, allocations: 15.89 kB / 0.5747 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.4142, allocations: 236.5 kB / 0.575 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.4144, allocations: 0.6809 MB / 0.5756 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.4144, allocations: 5.797 kB / 0.5756 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.4145, allocations: 23.42 kB / 0.5757 GB, free: 8.531 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4145, allocations: 0 / 0.5757 GB, free: 8.531 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.4277, allocations: 3.543 MB / 0.5791 GB, free: 5.074 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.4279, allocations: 169 kB / 0.5793 GB, free: 4.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.205, allocations: 4.062 kB / 0.5793 GB, free: 4.836 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat