Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009629/0.0009629, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009093/0.0009094, allocations: 90.55 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 45.16 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.618e-05, allocations: 7.984 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.09982, allocations: 63.24 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.969/7.069, allocations: 3.302 GB / 3.814 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/7.069, allocations: 68.84 kB / 3.814 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1011/7.17, allocations: 51.9 MB / 3.865 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.253e-06/7.17, allocations: 0 / 3.865 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.699e-06/7.17, allocations: 0 / 3.865 GB, free: 65.3 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007708/7.171, allocations: 0.5019 MB / 3.865 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/7.171, allocations: 11.97 kB / 3.865 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/7.171, allocations: 34.56 kB / 3.865 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/7.171, allocations: 20.41 kB / 3.865 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.229e-05/7.171, allocations: 174.9 kB / 3.865 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/7.171, allocations: 8 kB / 3.865 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/7.171, allocations: 4 kB / 3.865 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/7.171, allocations: 71.14 kB / 3.865 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/7.171, allocations: 0 / 3.865 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/7.171, allocations: 0 / 3.865 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/7.171, allocations: 7.984 kB / 3.865 GB, free: 64.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.996e-05/7.171, allocations: 51.92 kB / 3.865 GB, free: 64.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/7.172, allocations: 300.8 kB / 3.866 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/7.172, allocations: 34.56 kB / 3.866 GB, free: 63.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/7.172, allocations: 16.84 kB / 3.866 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/7.172, allocations: 255.3 kB / 3.866 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/7.172, allocations: 34.52 kB / 3.866 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/7.172, allocations: 0 / 3.866 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001249/7.172, allocations: 49.69 kB / 3.866 GB, free: 63.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/7.172, allocations: 55.41 kB / 3.866 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.615e-05/7.172, allocations: 96.98 kB / 3.866 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/7.172, allocations: 25.7 kB / 3.866 GB, free: 63.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/7.172, allocations: 103.9 kB / 3.866 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/7.172, allocations: 15.73 kB / 3.866 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-06/7.172, allocations: 4 kB / 3.866 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.801e-05/7.172, allocations: 314.8 kB / 3.867 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/7.172, allocations: 4 kB / 3.867 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/7.172, allocations: 47.45 kB / 3.867 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/7.172, allocations: 11.94 kB / 3.867 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/7.172, allocations: 4 kB / 3.867 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.02e-05/7.173, allocations: 69.61 kB / 3.867 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/7.173, allocations: 8.094 kB / 3.867 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/7.173, allocations: 7.953 kB / 3.867 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/7.173, allocations: 0 / 3.867 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/7.173, allocations: 19.92 kB / 3.867 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/7.173, allocations: 0 / 3.867 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/7.173, allocations: 4 kB / 3.867 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/7.173, allocations: 0 / 3.867 GB, free: 62.68 MB / 0.5261 GB 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 () * 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 3.601e-05/7.173, allocations: 109 kB / 3.867 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/7.173, allocations: 3.906 kB / 3.867 GB, free: 62.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/7.173, allocations: 69.11 kB / 3.867 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/7.173, allocations: 3.953 kB / 3.867 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/7.173, allocations: 3.938 kB / 3.867 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/7.173, allocations: 0 / 3.867 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/7.173, allocations: 161.7 kB / 3.867 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/7.173, allocations: 0 / 3.867 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/7.173, allocations: 15.98 kB / 3.867 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/7.173, allocations: 0 / 3.867 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/7.173, allocations: 0 / 3.867 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/7.173, allocations: 4 kB / 3.867 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/7.173, allocations: 3.953 kB / 3.867 GB, free: 62.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/7.173, allocations: 139.9 kB / 3.867 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/7.173, allocations: 85 kB / 3.867 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/7.173, allocations: 4 kB / 3.867 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/7.173, allocations: 7.984 kB / 3.867 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/7.173, allocations: 11.94 kB / 3.867 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/7.173, allocations: 4 kB / 3.867 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.83e-05/7.173, allocations: 83.22 kB / 3.867 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/7.173, allocations: 0 / 3.867 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005899/7.174, allocations: 203.8 kB / 3.868 GB, free: 61.68 MB / 0.5261 GB 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 () * 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.001131/7.175, allocations: 1.315 MB / 3.869 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/7.175, allocations: 31.92 kB / 3.869 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/7.175, allocations: 0 / 3.869 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/7.175, allocations: 15.94 kB / 3.869 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/7.175, allocations: 7.953 kB / 3.869 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/7.176, allocations: 198.2 kB / 3.869 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/7.176, allocations: 0.6856 MB / 3.87 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.944e-05/7.176, allocations: 11.98 kB / 3.87 GB, free: 59.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/7.176, allocations: 11.44 kB / 3.87 GB, free: 59.34 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/7.176, allocations: 4 kB / 3.87 GB, free: 59.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/7.198, allocations: 14.32 MB / 3.884 GB, free: 45.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/7.198, allocations: 181.5 kB / 3.884 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/9.008, allocations: 0 / 3.884 GB, free: 44.87 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat