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.00109/0.00109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 194 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 63.08 kB / 0.5019 GB, free: 8.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1537, allocations: 80.2 MB / 0.5802 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002139/0.1558, allocations: 1.329 MB / 0.5815 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3638/0.5197, allocations: 148.1 MB / 0.7261 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.5197, allocations: 0 / 0.7261 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.5198, allocations: 6.422 kB / 0.7261 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.5199, allocations: 15.23 kB / 0.7261 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.5208, allocations: 326.7 kB / 0.7264 GB, free: 5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.5209, allocations: 65.66 kB / 0.7265 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.5209, allocations: 7.359 kB / 0.7265 GB, free: 4.973 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.5209, allocations: 23.72 kB / 0.7265 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.521, allocations: 40.14 kB / 0.7266 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.5211, allocations: 6.641 kB / 0.7266 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.5218, allocations: 409.7 kB / 0.727 GB, free: 4.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.5219, allocations: 13.95 kB / 0.727 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.5219, allocations: 29.81 kB / 0.727 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.5222, allocations: 161.7 kB / 0.7271 GB, free: 4.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5223, allocations: 0 / 0.7271 GB, free: 4.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5223, allocations: 0 / 0.7271 GB, free: 4.703 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.5223, allocations: 2.062 kB / 0.7272 GB, free: 4.703 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.0004062/0.5227, allocations: 396.8 kB / 0.7275 GB, free: 4.312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.5227, allocations: 10.34 kB / 0.7275 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.5228, allocations: 38.36 kB / 0.7276 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/0.5231, allocations: 35.89 kB / 0.7276 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.5233, allocations: 167 kB / 0.7278 GB, free: 4.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.5233, allocations: 7.531 kB / 0.7278 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.5233, allocations: 10.59 kB / 0.7278 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5235, allocations: 85.05 kB / 0.7279 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5235, allocations: 1.5 kB / 0.7279 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5235, allocations: 0 / 0.7279 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.5235, allocations: 1.406 kB / 0.7279 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.5236, allocations: 46.61 kB / 0.7279 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.5238, allocations: 190.3 kB / 0.7281 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.524, allocations: 94.56 kB / 0.7282 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.524, allocations: 36.83 kB / 0.7282 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.5242, allocations: 173.5 kB / 0.7284 GB, free: 3.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5243, allocations: 36.38 kB / 0.7284 GB, free: 3.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5243, allocations: 1.25 kB / 0.7284 GB, free: 3.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001273/0.5256, allocations: 0.5426 MB / 0.729 GB, free: 3.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5256, allocations: 54.27 kB / 0.729 GB, free: 3.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.5257, allocations: 103.2 kB / 0.7291 GB, free: 2.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5257, allocations: 32.92 kB / 0.7291 GB, free: 2.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.5257, allocations: 85.67 kB / 0.7292 GB, free: 2.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.5258, allocations: 73.69 kB / 0.7293 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.5259, allocations: 37.73 kB / 0.7293 GB, free: 2.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.526, allocations: 319.8 kB / 0.7296 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.526, allocations: 39.91 kB / 0.7297 GB, free: 2.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.5261, allocations: 68.86 kB / 0.7297 GB, free: 2.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.5263, allocations: 120.1 kB / 0.7298 GB, free: 2.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5263, allocations: 1.188 kB / 0.7298 GB, free: 2.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002195/0.5265, allocations: 156.8 kB / 0.73 GB, free: 2.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5265, allocations: 5.438 kB / 0.73 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5265, allocations: 1.062 kB / 0.73 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5266, allocations: 1.219 kB / 0.73 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.5267, allocations: 41 kB / 0.73 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5267, allocations: 2.031 kB / 0.73 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.5268, allocations: 10.22 kB / 0.7301 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.5268, allocations: 4.25 kB / 0.7301 GB, free: 2.242 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 8.24e-05/0.5269, allocations: 129.1 kB / 0.7302 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.5269, allocations: 10.39 kB / 0.7302 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.527, allocations: 21.19 kB / 0.7302 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.527, allocations: 2.062 kB / 0.7302 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.527, allocations: 1.875 kB / 0.7302 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.527, allocations: 5.062 kB / 0.7302 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.5272, allocations: 198.5 kB / 0.7304 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5272, allocations: 0 / 0.7304 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.5274, allocations: 34.69 kB / 0.7304 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5274, allocations: 8.969 kB / 0.7305 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5274, allocations: 8.141 kB / 0.7305 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5274, allocations: 0 / 0.7305 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5274, allocations: 4.906 kB / 0.7305 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.5277, allocations: 201.1 kB / 0.7307 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.5278, allocations: 97.53 kB / 0.7307 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.5278, allocations: 1.188 kB / 0.7307 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.5279, allocations: 11.09 kB / 0.7308 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.528, allocations: 19.31 kB / 0.7308 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.528, allocations: 8.75 kB / 0.7308 GB, free: 1.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.528, allocations: 78.66 kB / 0.7309 GB, free: 1.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.528, allocations: 0 / 0.7309 GB, free: 1.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002172/0.5282, allocations: 25.81 kB / 0.7309 GB, free: 1.555 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.0005234/0.5288, allocations: 0.7499 MB / 0.7316 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.529, allocations: 116.5 kB / 0.7317 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.529, allocations: 0 / 0.7317 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.5291, allocations: 56.66 kB / 0.7318 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5293, allocations: 17.5 kB / 0.7318 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.5311, allocations: 1.818 MB / 0.7336 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.5313, allocations: 0.709 MB / 0.7343 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.5315, allocations: 20.45 kB / 0.7343 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.5315, allocations: 25.69 kB / 0.7343 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5315, allocations: 0 / 0.7343 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.5488, allocations: 2.357 MB / 0.7366 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.811, allocations: 1.938 kB / 0.7366 GB, free: 14.21 MB / 0.5606 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)