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.005302/0.005302, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.001242/0.001242, allocations: 192 kB / 16.67 MB, free: 5.969 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9324/0.9324, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3788, allocations: 80.91 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001832/0.3806, allocations: 1.343 MB / 0.6654 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.5385, allocations: 148.1 MB / 0.8101 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.5386, allocations: 0 / 0.8101 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.5387, allocations: 11.92 kB / 0.8101 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.615e-05/0.5388, allocations: 11.91 kB / 0.8101 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.5397, allocations: 346.6 kB / 0.8104 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.5398, allocations: 71.75 kB / 0.8105 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.5399, allocations: 4 kB / 0.8105 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.5399, allocations: 27.86 kB / 0.8105 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.54, allocations: 31.89 kB / 0.8105 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.54, allocations: 4 kB / 0.8105 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007747/0.5408, allocations: 406.9 kB / 0.8109 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.5409, allocations: 15.97 kB / 0.8109 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.5409, allocations: 31.81 kB / 0.811 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.5412, allocations: 160.4 kB / 0.8111 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5412, allocations: 4 kB / 0.8111 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5413, allocations: 4 kB / 0.8111 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5413, allocations: 0 / 0.8111 GB, free: 10.49 MB / 0.6387 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.0004441/0.5417, allocations: 391 kB / 0.8115 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5418, allocations: 8.031 kB / 0.8115 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.5418, allocations: 42.73 kB / 0.8116 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.5422, allocations: 32.86 kB / 0.8116 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5424, allocations: 180 kB / 0.8118 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.5424, allocations: 11.98 kB / 0.8118 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.5424, allocations: 12 kB / 0.8118 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.5426, allocations: 69.66 kB / 0.8119 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.5426, allocations: 0 / 0.8119 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.5426, allocations: 4 kB / 0.8119 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5427, allocations: 4 kB / 0.8119 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.5427, allocations: 43.95 kB / 0.8119 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.5429, allocations: 193.5 kB / 0.8121 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.5431, allocations: 94.48 kB / 0.8122 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.5432, allocations: 36.88 kB / 0.8122 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.5434, allocations: 178.2 kB / 0.8124 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5434, allocations: 30.56 kB / 0.8124 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5434, allocations: 0 / 0.8124 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001232/0.5447, allocations: 0.549 MB / 0.8129 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.5447, allocations: 59.39 kB / 0.813 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.5448, allocations: 97.8 kB / 0.8131 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.5448, allocations: 33.7 kB / 0.8131 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5449, allocations: 80.52 kB / 0.8132 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.5449, allocations: 75.38 kB / 0.8133 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.545, allocations: 33.72 kB / 0.8133 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5451, allocations: 322.8 kB / 0.8136 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.5452, allocations: 31.98 kB / 0.8136 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.5452, allocations: 76.75 kB / 0.8137 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.5454, allocations: 119.3 kB / 0.8138 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.5454, allocations: 0 / 0.8138 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002057/0.5456, allocations: 153.5 kB / 0.814 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5456, allocations: 4 kB / 0.814 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5457, allocations: 0 / 0.814 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5457, allocations: 7.938 kB / 0.814 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.5459, allocations: 39.98 kB / 0.814 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5459, allocations: 8.078 kB / 0.814 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.5459, allocations: 12 kB / 0.814 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.546, allocations: 4 kB / 0.8141 GB, free: 7.168 MB / 0.6387 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 8.203e-05/0.546, allocations: 123.3 kB / 0.8142 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.5461, allocations: 7.953 kB / 0.8142 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.5461, allocations: 28.36 kB / 0.8142 GB, free: 7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5461, allocations: 0 / 0.8142 GB, free: 7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5461, allocations: 3.938 kB / 0.8142 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5461, allocations: 0 / 0.8142 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.5463, allocations: 189.6 kB / 0.8144 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.5463, allocations: 4 kB / 0.8144 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.5465, allocations: 43.92 kB / 0.8144 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5465, allocations: 0 / 0.8144 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5465, allocations: 4 kB / 0.8144 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5465, allocations: 0 / 0.8144 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5465, allocations: 3.938 kB / 0.8144 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.5468, allocations: 207.4 kB / 0.8146 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.5469, allocations: 93.05 kB / 0.8147 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.5469, allocations: 8.062 kB / 0.8147 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.5471, allocations: 8 kB / 0.8147 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.5471, allocations: 15.91 kB / 0.8148 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.5471, allocations: 11.92 kB / 0.8148 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.5472, allocations: 87.22 kB / 0.8149 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5472, allocations: 0 / 0.8149 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002147/0.5474, allocations: 24 kB / 0.8149 GB, free: 6.227 MB / 0.6387 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.0005729/0.548, allocations: 0.7581 MB / 0.8156 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.5482, allocations: 110.8 kB / 0.8157 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5482, allocations: 0 / 0.8157 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.5483, allocations: 47.92 kB / 0.8158 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.5485, allocations: 27.92 kB / 0.8158 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.5503, allocations: 1.805 MB / 0.8176 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.5506, allocations: 0.7008 MB / 0.8182 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001/0.5507, allocations: 20.64 kB / 0.8183 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.5508, allocations: 27.42 kB / 0.8183 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/0.5508, allocations: 4.094 kB / 0.8183 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.5706, allocations: 2.419 MB / 0.8207 GB, free: 236 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.946, allocations: 15.88 kB / 0.8207 GB, free: 224 kB / 0.6387 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)