Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_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.001087/0.001087, allocations: 97.48 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2508/0.2509, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3896/0.5068, allocations: 136.9 MB / 0.5943 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.5084, allocations: 1.235 MB / 0.5955 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.5085, allocations: 0 / 0.5955 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.5087, allocations: 27.81 kB / 0.5955 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.511, allocations: 0.7554 MB / 0.5963 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.528e-06/0.511, allocations: 0 / 0.5963 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.5111, allocations: 75.67 kB / 0.5963 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.5112, allocations: 8 kB / 0.5963 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.5112, allocations: 15.92 kB / 0.5964 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.5113, allocations: 27.91 kB / 0.5964 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.5113, allocations: 0 / 0.5964 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.514, allocations: 1.544 MB / 0.5979 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.5141, allocations: 11.98 kB / 0.5979 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.5141, allocations: 29.7 kB / 0.5979 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.5152, allocations: 0.5714 MB / 0.5985 GB, free: 5.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5152, allocations: 0 / 0.5985 GB, free: 5.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5152, allocations: 0 / 0.5985 GB, free: 5.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.5152, allocations: 0 / 0.5985 GB, free: 5.852 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006931/0.5159, allocations: 483.1 kB / 0.5989 GB, free: 5.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.516, allocations: 8.031 kB / 0.599 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.516, allocations: 37.84 kB / 0.599 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.516, allocations: 8.688 kB / 0.599 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5162, allocations: 174.9 kB / 0.5992 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.5162, allocations: 0 / 0.5992 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.5162, allocations: 7.984 kB / 0.5992 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5163, allocations: 69.67 kB / 0.5992 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.5164, allocations: 0 / 0.5992 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.5164, allocations: 3.984 kB / 0.5992 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.5164, allocations: 8 kB / 0.5993 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.5165, allocations: 55.91 kB / 0.5993 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.5169, allocations: 292.8 kB / 0.5996 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.799e-05/0.517, allocations: 38.55 kB / 0.5996 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.517, allocations: 12.86 kB / 0.5996 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.5173, allocations: 263.4 kB / 0.5999 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5173, allocations: 38.5 kB / 0.5999 GB, free: 4.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.5173, allocations: 112 / 0.5999 GB, free: 4.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.5175, allocations: 53.62 kB / 0.6 GB, free: 4.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.5175, allocations: 59.36 kB / 0.6 GB, free: 4.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.5176, allocations: 101.8 kB / 0.6001 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5176, allocations: 25.7 kB / 0.6002 GB, free: 3.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.5177, allocations: 95.89 kB / 0.6002 GB, free: 3.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.5177, allocations: 19.8 kB / 0.6003 GB, free: 3.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.5177, allocations: 0 / 0.6003 GB, free: 3.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.5178, allocations: 314.8 kB / 0.6006 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.5178, allocations: 8 kB / 0.6006 GB, free: 3.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.311e-05/0.5179, allocations: 39.36 kB / 0.6006 GB, free: 3.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.5179, allocations: 16 kB / 0.6006 GB, free: 3.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.5179, allocations: 3.984 kB / 0.6006 GB, free: 3.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001052/0.518, allocations: 65.62 kB / 0.6007 GB, free: 3.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5181, allocations: 4 kB / 0.6007 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5181, allocations: 4 kB / 0.6007 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.5181, allocations: 0 / 0.6007 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5182, allocations: 19.92 kB / 0.6007 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5182, allocations: 7.891 kB / 0.6007 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.5183, allocations: 12.72 kB / 0.6007 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5183, allocations: 4.094 kB / 0.6007 GB, free: 3.254 MB / 430.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 (7): * Single equations (assignments): 7 * 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 7.692e-05/0.5184, allocations: 114.4 kB / 0.6008 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.5184, allocations: 4 kB / 0.6009 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.5185, allocations: 65.73 kB / 0.6009 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5185, allocations: 0 / 0.6009 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5186, allocations: 0 / 0.6009 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5186, allocations: 7.953 kB / 0.6009 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.5187, allocations: 165.7 kB / 0.6011 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5187, allocations: 7.562 kB / 0.6011 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.5188, allocations: 4 kB / 0.6011 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5188, allocations: 0 / 0.6011 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5188, allocations: 4 kB / 0.6011 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5188, allocations: 0 / 0.6011 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5188, allocations: 0 / 0.6011 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.5189, allocations: 155.9 kB / 0.6012 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.519, allocations: 81.09 kB / 0.6013 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.519, allocations: 0 / 0.6013 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.519, allocations: 3.984 kB / 0.6013 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.519, allocations: 7.984 kB / 0.6013 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.5191, allocations: 3.938 kB / 0.6013 GB, free: 2.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.5191, allocations: 83.28 kB / 0.6014 GB, free: 2.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5191, allocations: 0 / 0.6014 GB, free: 2.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004731/0.5196, allocations: 139.8 kB / 0.6016 GB, free: 2.332 MB / 430.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 (4): * Single equations (assignments): 4 * 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.0009645/0.5206, allocations: 0.8841 MB / 0.6024 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.466e-05/0.5207, allocations: 27.92 kB / 0.6024 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5207, allocations: 0 / 0.6024 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.679e-05/0.5207, allocations: 8 kB / 0.6024 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.521, allocations: 16.17 kB / 0.6025 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.5215, allocations: 253.9 kB / 0.6027 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.5218, allocations: 0.6809 MB / 0.6034 GB, free: 388 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.5218, allocations: 12 kB / 0.6034 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.5219, allocations: 19.42 kB / 0.6034 GB, free: 356 kB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5219, allocations: 0 / 0.6034 GB, free: 356 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.5367, allocations: 4.23 MB / 0.6075 GB, free: 12.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003291/0.5371, allocations: 217 kB / 0.6077 GB, free: 11.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.43, allocations: 0 / 0.6077 GB, free: 11.99 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat