Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",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.001541/0.001541, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00225/0.00225, allocations: 195.4 kB / 16.14 MB, free: 6.707 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.671/0.671, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 59.66 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1339, allocations: 80.21 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002187/0.1362, allocations: 1.389 MB / 0.5808 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4005/0.5367, allocations: 145.8 MB / 0.7232 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.5368, allocations: 0 / 0.7232 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.648e-05/0.5368, allocations: 1.969 kB / 0.7232 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.537, allocations: 13.62 kB / 0.7232 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.5381, allocations: 299.7 kB / 0.7235 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.5382, allocations: 86.17 kB / 0.7236 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.5383, allocations: 3.875 kB / 0.7236 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.5383, allocations: 32 kB / 0.7236 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.5384, allocations: 39.25 kB / 0.7237 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.5385, allocations: 3.438 kB / 0.7237 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5396, allocations: 0.4905 MB / 0.7242 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.5396, allocations: 16.66 kB / 0.7242 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.5397, allocations: 26.95 kB / 0.7242 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.5403, allocations: 187.3 kB / 0.7244 GB, free: 6.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5403, allocations: 1.156 kB / 0.7244 GB, free: 6.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5403, allocations: 0 / 0.7244 GB, free: 6.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.5403, allocations: 0 / 0.7244 GB, free: 6.809 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000622/0.5409, allocations: 396 kB / 0.7248 GB, free: 6.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.541, allocations: 9.562 kB / 0.7248 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.5411, allocations: 37.92 kB / 0.7248 GB, free: 6.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.5416, allocations: 41.66 kB / 0.7248 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.5417, allocations: 166.9 kB / 0.725 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5417, allocations: 6.562 kB / 0.725 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.5418, allocations: 11.72 kB / 0.725 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.542, allocations: 79.11 kB / 0.7251 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.542, allocations: 0 / 0.7251 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.542, allocations: 2.156 kB / 0.7251 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.542, allocations: 1.859 kB / 0.7251 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.5422, allocations: 49.69 kB / 0.7251 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.5424, allocations: 194.1 kB / 0.7253 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.5426, allocations: 91.2 kB / 0.7254 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.5427, allocations: 36.3 kB / 0.7254 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.543, allocations: 174.1 kB / 0.7256 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.543, allocations: 37.27 kB / 0.7257 GB, free: 5.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.543, allocations: 0 / 0.7257 GB, free: 5.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001432/0.5445, allocations: 0.547 MB / 0.7262 GB, free: 5.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.5445, allocations: 54.12 kB / 0.7262 GB, free: 5.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.5446, allocations: 106.8 kB / 0.7263 GB, free: 5.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.5446, allocations: 30.83 kB / 0.7264 GB, free: 5.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.5447, allocations: 81.7 kB / 0.7264 GB, free: 4.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.5447, allocations: 68.61 kB / 0.7265 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/0.5448, allocations: 43.3 kB / 0.7266 GB, free: 4.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.5449, allocations: 319.7 kB / 0.7269 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.545, allocations: 34.77 kB / 0.7269 GB, free: 4.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.5451, allocations: 68.77 kB / 0.727 GB, free: 4.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.5453, allocations: 125.7 kB / 0.7271 GB, free: 4.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5453, allocations: 0.5625 kB / 0.7271 GB, free: 4.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002646/0.5456, allocations: 153 kB / 0.7272 GB, free: 4.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5456, allocations: 4.891 kB / 0.7272 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5456, allocations: 1.406 kB / 0.7272 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5456, allocations: 7.484 kB / 0.7272 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.5458, allocations: 35.31 kB / 0.7273 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5458, allocations: 1.562 kB / 0.7273 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.5459, allocations: 9.953 kB / 0.7273 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.5459, allocations: 13.67 kB / 0.7273 GB, free: 4.332 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.546, allocations: 128.1 kB / 0.7274 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.5461, allocations: 10.38 kB / 0.7274 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.5461, allocations: 17.09 kB / 0.7274 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5461, allocations: 2.25 kB / 0.7274 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5462, allocations: 0.6094 kB / 0.7274 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5462, allocations: 5.641 kB / 0.7274 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.5464, allocations: 193.6 kB / 0.7276 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.5464, allocations: 0 / 0.7276 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.5466, allocations: 38.84 kB / 0.7277 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5466, allocations: 5.094 kB / 0.7277 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5466, allocations: 10.75 kB / 0.7277 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5466, allocations: 1.094 kB / 0.7277 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5466, allocations: 0 / 0.7277 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.5469, allocations: 203.5 kB / 0.7279 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.547, allocations: 95.38 kB / 0.728 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.547, allocations: 3.078 kB / 0.728 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5472, allocations: 10.64 kB / 0.728 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.5472, allocations: 16.27 kB / 0.728 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.5472, allocations: 8.062 kB / 0.728 GB, free: 3.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.5472, allocations: 83.73 kB / 0.7281 GB, free: 3.656 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5472, allocations: 0 / 0.7281 GB, free: 3.656 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002112/0.5475, allocations: 29.41 kB / 0.7281 GB, free: 3.648 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005088/0.548, allocations: 0.7495 MB / 0.7288 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.5482, allocations: 106.7 kB / 0.729 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5482, allocations: 1.219 kB / 0.729 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.5482, allocations: 55.42 kB / 0.729 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.5485, allocations: 17.86 kB / 0.729 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.5501, allocations: 1.834 MB / 0.7308 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.5504, allocations: 0.7026 MB / 0.7315 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.5505, allocations: 18.84 kB / 0.7315 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.5505, allocations: 25.38 kB / 0.7315 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5505, allocations: 5.156 kB / 0.7315 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2963/0.8468, allocations: 2.218 MB / 0.7337 GB, free: 420 kB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.8471, allocations: 176.6 kB / 0.7339 GB, free: 164 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.702, allocations: 3.938 kB / 0.7339 GB, free: 160 kB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)