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.00174/0.00174, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.627/1.627, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 101.6 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5322/0.5322, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 4 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4992, allocations: 61.89 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.878, allocations: 472.1 MB / 0.9706 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.878, allocations: 72.62 kB / 0.9707 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0819/1.96, allocations: 41.34 MB / 1.011 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/1.96, allocations: 0 / 1.011 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.097e-05/1.96, allocations: 0 / 1.011 GB, free: 74.89 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.0007143/1.961, allocations: 414.8 kB / 1.011 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.961, allocations: 11.97 kB / 1.011 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/1.961, allocations: 42.06 kB / 1.012 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/1.961, allocations: 15.89 kB / 1.012 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/1.961, allocations: 163 kB / 1.012 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/1.961, allocations: 7.953 kB / 1.012 GB, free: 74.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/1.961, allocations: 7.812 kB / 1.012 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/1.961, allocations: 68.86 kB / 1.012 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/1.961, allocations: 0 / 1.012 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.961, allocations: 0 / 1.012 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.961, allocations: 0 / 1.012 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/1.962, allocations: 56.83 kB / 1.012 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/1.962, allocations: 386.8 kB / 1.012 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1.962, allocations: 60.81 kB / 1.012 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.963, allocations: 0.9992 MB / 1.013 GB, free: 72.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.963, allocations: 34.25 kB / 1.013 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/1.963, allocations: 0 / 1.013 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.005758/1.969, allocations: 0.6454 MB / 1.014 GB, free: 71.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.969, allocations: 63.03 kB / 1.014 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/1.969, allocations: 92.94 kB / 1.014 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/1.969, allocations: 32.89 kB / 1.014 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/1.969, allocations: 96.25 kB / 1.014 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/1.969, allocations: 46.34 kB / 1.014 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/1.969, allocations: 3.5 kB / 1.014 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/1.969, allocations: 318.3 kB / 1.015 GB, free: 71.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.97, allocations: 81.12 kB / 1.015 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/1.97, allocations: 112.4 kB / 1.015 GB, free: 71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/1.97, allocations: 92.84 kB / 1.015 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.97, allocations: 0 / 1.015 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005892/1.971, allocations: 239.2 kB / 1.015 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/1.971, allocations: 5.875 kB / 1.015 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.971, allocations: 0 / 1.015 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.971, allocations: 8.016 kB / 1.015 GB, free: 70.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/1.971, allocations: 63.81 kB / 1.015 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.971, allocations: 0 / 1.015 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/1.972, allocations: 15.98 kB / 1.015 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/1.972, allocations: 14.17 kB / 1.015 GB, free: 70.67 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 () * Number of clocked 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 0.0001289/1.972, allocations: 113.9 kB / 1.015 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/1.972, allocations: 4 kB / 1.015 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009078/1.973, allocations: 358.3 kB / 1.016 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.973, allocations: 0 / 1.016 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.973, allocations: 0 / 1.016 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.973, allocations: 0 / 1.016 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/1.974, allocations: 0.7464 MB / 1.016 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.974, allocations: 0 / 1.016 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/1.975, allocations: 39.97 kB / 1.016 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/1.975, allocations: 4 kB / 1.016 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/1.975, allocations: 11.67 kB / 1.016 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/1.975, allocations: 3.953 kB / 1.016 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.975, allocations: 256 / 1.016 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/1.975, allocations: 349.6 kB / 1.017 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.975, allocations: 104.8 kB / 1.017 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/1.975, allocations: 7.875 kB / 1.017 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/1.976, allocations: 15.92 kB / 1.017 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/1.976, allocations: 23.5 kB / 1.017 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/1.976, allocations: 11.98 kB / 1.017 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.45e-05/1.976, allocations: 79.28 kB / 1.017 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.976, allocations: 0 / 1.017 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008371/1.977, allocations: 147.8 kB / 1.017 GB, free: 68.88 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 () * Number of clocked 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.001978/1.979, allocations: 1.407 MB / 1.018 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005182/1.979, allocations: 212.6 kB / 1.019 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.979, allocations: 4.125 kB / 1.019 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/1.979, allocations: 114.8 kB / 1.019 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/1.98, allocations: 21.73 kB / 1.019 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.981, allocations: 393 kB / 1.019 GB, free: 66.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/1.981, allocations: 0.7007 MB / 1.02 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004878/1.982, allocations: 60.77 kB / 1.02 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/1.982, allocations: 47.19 kB / 1.02 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/1.982, allocations: 0 / 1.02 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/2.017, allocations: 15.44 MB / 1.035 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/2.017, allocations: 182.5 kB / 1.035 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/4.194, allocations: 0 / 1.035 GB, free: 50.46 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