Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_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.00962/0.009619, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.002521/0.002521, allocations: 195.8 kB / 16.67 MB, free: 5.883 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.867/0.867, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.58 kB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1406, allocations: 81.01 MB / 0.6648 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002337/0.143, allocations: 1.339 MB / 0.6661 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4674/0.6103, allocations: 148.1 MB / 0.8107 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.6104, allocations: 0 / 0.8107 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.6105, allocations: 3.938 kB / 0.8108 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.741e-05/0.6106, allocations: 13.59 kB / 0.8108 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.6115, allocations: 334.8 kB / 0.8111 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.6117, allocations: 64.09 kB / 0.8111 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.6117, allocations: 6.844 kB / 0.8112 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.6118, allocations: 34.8 kB / 0.8112 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.6119, allocations: 31.91 kB / 0.8112 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.6119, allocations: 2.656 kB / 0.8112 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.6126, allocations: 411.5 kB / 0.8116 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.6127, allocations: 26.39 kB / 0.8116 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.6127, allocations: 26.38 kB / 0.8117 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.613, allocations: 154.4 kB / 0.8118 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.613, allocations: 3.938 kB / 0.8118 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.613, allocations: 0 / 0.8118 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.6131, allocations: 2.156 kB / 0.8118 GB, free: 10.92 MB / 0.5919 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.0004649/0.6135, allocations: 388.8 kB / 0.8122 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6136, allocations: 9.984 kB / 0.8122 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.6136, allocations: 43.84 kB / 0.8122 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.614, allocations: 38.45 kB / 0.8123 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.6142, allocations: 169.5 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6142, allocations: 10 kB / 0.8124 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.6142, allocations: 9.312 kB / 0.8125 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.6144, allocations: 76.47 kB / 0.8125 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6144, allocations: 0 / 0.8125 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.6144, allocations: 4.656 kB / 0.8125 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.6144, allocations: 6.062 kB / 0.8125 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.6145, allocations: 47.83 kB / 0.8126 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.6148, allocations: 187.2 kB / 0.8128 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.615, allocations: 92.84 kB / 0.8128 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.615, allocations: 30.28 kB / 0.8129 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.6153, allocations: 182 kB / 0.8131 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.6153, allocations: 32.16 kB / 0.8131 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.6153, allocations: 0 / 0.8131 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001302/0.6167, allocations: 0.5621 MB / 0.8136 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.6167, allocations: 54.16 kB / 0.8137 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.6168, allocations: 102.8 kB / 0.8138 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6168, allocations: 27.08 kB / 0.8138 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.6169, allocations: 88.95 kB / 0.8139 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.6169, allocations: 73.48 kB / 0.814 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.617, allocations: 37.97 kB / 0.814 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6171, allocations: 322.4 kB / 0.8143 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.6172, allocations: 35 kB / 0.8143 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.244e-05/0.6173, allocations: 69.31 kB / 0.8144 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.6174, allocations: 115.4 kB / 0.8145 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6175, allocations: 1.781 kB / 0.8145 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002056/0.6177, allocations: 159.7 kB / 0.8147 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6177, allocations: 11.23 kB / 0.8147 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6177, allocations: 5.312 kB / 0.8147 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6177, allocations: 1.375 kB / 0.8147 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.6179, allocations: 40.67 kB / 0.8147 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6179, allocations: 1.375 kB / 0.8147 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.618, allocations: 9.812 kB / 0.8147 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.618, allocations: 4.125 kB / 0.8147 GB, free: 8.719 MB / 0.5919 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 9.663e-05/0.6181, allocations: 122.1 kB / 0.8149 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.6181, allocations: 11.7 kB / 0.8149 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.6181, allocations: 21.66 kB / 0.8149 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.6182, allocations: 2.75 kB / 0.8149 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6182, allocations: 0 / 0.8149 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6182, allocations: 6.516 kB / 0.8149 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.6184, allocations: 191.2 kB / 0.8151 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6184, allocations: 1.375 kB / 0.8151 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.6186, allocations: 42 kB / 0.8151 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6186, allocations: 1.375 kB / 0.8151 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6186, allocations: 2.25 kB / 0.8151 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6186, allocations: 0 / 0.8151 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6186, allocations: 1.375 kB / 0.8151 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.6189, allocations: 214.1 kB / 0.8153 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.619, allocations: 91.03 kB / 0.8154 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.6191, allocations: 9.922 kB / 0.8154 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.6192, allocations: 9.828 kB / 0.8154 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.6192, allocations: 13.14 kB / 0.8154 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.6192, allocations: 12.69 kB / 0.8155 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.6193, allocations: 83.27 kB / 0.8155 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6193, allocations: 0 / 0.8155 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002212/0.6195, allocations: 25.41 kB / 0.8156 GB, free: 8.125 MB / 0.5919 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.0006389/0.6202, allocations: 0.739 MB / 0.8163 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.6204, allocations: 117.2 kB / 0.8164 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6204, allocations: 0 / 0.8164 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.6205, allocations: 54.92 kB / 0.8164 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6207, allocations: 20.25 kB / 0.8165 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.6226, allocations: 1.826 MB / 0.8183 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.623, allocations: 0.7006 MB / 0.8189 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.6231, allocations: 23.05 kB / 0.819 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.6232, allocations: 21.97 kB / 0.819 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.6232, allocations: 3.938 kB / 0.819 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.6485, allocations: 2.423 MB / 0.8213 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.626, allocations: 9.312 kB / 0.8214 GB, free: 4.062 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)