Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",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.001327/0.001327, allocations: 180.3 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.67/1.67, allocations: 221.3 MB / 236 MB, free: 2.922 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.001102/0.001102, allocations: 79.61 kB / 287 MB, free: 212 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.3336/0.3336, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.345e-05/7.39e-05, allocations: 4.219 kB / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 61.91 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.762/1.933, allocations: 472 MB / 0.9627 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/1.933, allocations: 75.95 kB / 0.9628 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07729/2.011, allocations: 41.23 MB / 1.003 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/2.011, allocations: 0 / 1.003 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.486e-06/2.011, allocations: 0 / 1.003 GB, free: 137.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005353/2.011, allocations: 402.3 kB / 1.003 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/2.011, allocations: 11.97 kB / 1.003 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/2.011, allocations: 46.5 kB / 1.003 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/2.012, allocations: 3.906 kB / 1.003 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/2.012, allocations: 167 kB / 1.004 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/2.012, allocations: 7.953 kB / 1.004 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/2.012, allocations: 11.98 kB / 1.004 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/2.012, allocations: 61.69 kB / 1.004 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/2.012, allocations: 0 / 1.004 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/2.012, allocations: 0 / 1.004 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/2.012, allocations: 0 / 1.004 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/2.012, allocations: 51.91 kB / 1.004 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/2.012, allocations: 389.8 kB / 1.004 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/2.013, allocations: 66.55 kB / 1.004 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/2.013, allocations: 20.98 kB / 1.004 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009627/2.014, allocations: 1.002 MB / 1.005 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/2.014, allocations: 30.56 kB / 1.005 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/2.014, allocations: 0 / 1.005 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.004788/2.018, allocations: 0.6179 MB / 1.006 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/2.018, allocations: 51.41 kB / 1.006 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/2.019, allocations: 100.9 kB / 1.006 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/2.019, allocations: 25.7 kB / 1.006 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/2.019, allocations: 96.23 kB / 1.006 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/2.019, allocations: 47.36 kB / 1.006 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/2.019, allocations: 4 kB / 1.006 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/2.019, allocations: 310.8 kB / 1.006 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/2.019, allocations: 79.92 kB / 1.007 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/2.019, allocations: 103.3 kB / 1.007 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/2.019, allocations: 81.33 kB / 1.007 GB, free: 133 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/2.019, allocations: 0 / 1.007 GB, free: 133 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003993/2.02, allocations: 228.5 kB / 1.007 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/2.02, allocations: 11.94 kB / 1.007 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/2.02, allocations: 4.016 kB / 1.007 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/2.02, allocations: 4 kB / 1.007 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/2.02, allocations: 55.94 kB / 1.007 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/2.02, allocations: 7.938 kB / 1.007 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/2.021, allocations: 15.98 kB / 1.007 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/2.021, allocations: 11.98 kB / 1.007 GB, free: 132.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 9.243e-05/2.021, allocations: 109 kB / 1.007 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/2.021, allocations: 4 kB / 1.007 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/2.022, allocations: 335.6 kB / 1.007 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/2.022, allocations: 4 kB / 1.007 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/2.022, allocations: 0 / 1.007 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/2.022, allocations: 7.938 kB / 1.007 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/2.022, allocations: 0.7199 MB / 1.008 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/2.022, allocations: 0 / 1.008 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/2.023, allocations: 43.97 kB / 1.008 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/2.023, allocations: 4.25 kB / 1.008 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/2.023, allocations: 11.94 kB / 1.008 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/2.023, allocations: 4 kB / 1.008 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.023, allocations: 3.938 kB / 1.008 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/2.023, allocations: 341.3 kB / 1.009 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/2.023, allocations: 104.9 kB / 1.009 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/2.024, allocations: 0 / 1.009 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/2.024, allocations: 15.98 kB / 1.009 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/2.024, allocations: 15.94 kB / 1.009 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/2.024, allocations: 15.98 kB / 1.009 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.097e-05/2.024, allocations: 79.28 kB / 1.009 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.024, allocations: 0 / 1.009 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006563/2.025, allocations: 143.9 kB / 1.009 GB, free: 130.6 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 (19): * Single equations (assignments): 19 * 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.001481/2.026, allocations: 1.391 MB / 1.01 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003903/2.027, allocations: 195.8 kB / 1.01 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/2.027, allocations: 128 / 1.01 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/2.027, allocations: 115.9 kB / 1.011 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/2.027, allocations: 25.38 kB / 1.011 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/2.028, allocations: 250.7 kB / 1.011 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/2.028, allocations: 0.6929 MB / 1.012 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004683/2.028, allocations: 68.69 kB / 1.012 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/2.029, allocations: 47.39 kB / 1.012 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/2.029, allocations: 4 kB / 1.012 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/2.063, allocations: 17.15 MB / 1.028 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/2.063, allocations: 147.9 kB / 1.029 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/4.323, allocations: 0 / 1.029 GB, free: 110.4 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat