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.004918/0.004918, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001235/0.001235, allocations: 197 kB / 16.67 MB, free: 5.973 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8096/0.8096, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.89 kB / 0.5808 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.38, allocations: 80.21 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002514/0.3826, allocations: 1.321 MB / 0.6605 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.5539, allocations: 148.1 MB / 0.8051 GB, free: 192 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.554, allocations: 0 / 0.8051 GB, free: 192 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.554, allocations: 3.938 kB / 0.8051 GB, free: 188 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/0.5542, allocations: 15.91 kB / 0.8051 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009843/0.5552, allocations: 334.6 kB / 0.8054 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.5553, allocations: 67.75 kB / 0.8055 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.5554, allocations: 4 kB / 0.8055 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.5554, allocations: 27.97 kB / 0.8055 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.5555, allocations: 39.83 kB / 0.8056 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.5555, allocations: 8 kB / 0.8056 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000805/0.5564, allocations: 402.8 kB / 0.806 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.5564, allocations: 15.98 kB / 0.806 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.5565, allocations: 27.84 kB / 0.806 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.5568, allocations: 164.4 kB / 0.8061 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.5568, allocations: 0 / 0.8061 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5568, allocations: 0 / 0.8061 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.5568, allocations: 0 / 0.8061 GB, free: 15.11 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.0005049/0.5574, allocations: 399 kB / 0.8065 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.5574, allocations: 12.03 kB / 0.8065 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.5574, allocations: 34.75 kB / 0.8066 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.5578, allocations: 40.86 kB / 0.8066 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.558, allocations: 172.1 kB / 0.8068 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.558, allocations: 4 kB / 0.8068 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.558, allocations: 8 kB / 0.8068 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.5582, allocations: 77.59 kB / 0.8069 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.5582, allocations: 3.938 kB / 0.8069 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5582, allocations: 4 kB / 0.8069 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5583, allocations: 4 kB / 0.8069 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.5584, allocations: 43.95 kB / 0.8069 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.5586, allocations: 193.5 kB / 0.8071 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.5588, allocations: 90.62 kB / 0.8072 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.5589, allocations: 36.84 kB / 0.8072 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.5591, allocations: 178.2 kB / 0.8074 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5592, allocations: 34.56 kB / 0.8074 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.5592, allocations: 0 / 0.8074 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001355/0.5605, allocations: 0.5486 MB / 0.808 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.5606, allocations: 59.34 kB / 0.808 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.5607, allocations: 101.8 kB / 0.8081 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.5607, allocations: 29.7 kB / 0.8081 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.5608, allocations: 80.52 kB / 0.8082 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.5608, allocations: 71.38 kB / 0.8083 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.5609, allocations: 45.84 kB / 0.8083 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5611, allocations: 318.8 kB / 0.8086 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.5612, allocations: 35.97 kB / 0.8087 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.5613, allocations: 71.39 kB / 0.8087 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.5615, allocations: 111.4 kB / 0.8088 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5615, allocations: 0 / 0.8088 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002425/0.5617, allocations: 165.5 kB / 0.809 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5617, allocations: 4 kB / 0.809 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.5617, allocations: 4 kB / 0.809 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5618, allocations: 0 / 0.809 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.5619, allocations: 39.92 kB / 0.809 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.562, allocations: 3.938 kB / 0.8091 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.562, allocations: 8 kB / 0.8091 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.562, allocations: 4 kB / 0.8091 GB, free: 11.79 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 0.0001026/0.5621, allocations: 126.4 kB / 0.8092 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.5622, allocations: 15.94 kB / 0.8092 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.5622, allocations: 16.44 kB / 0.8092 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5622, allocations: 0 / 0.8092 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5623, allocations: 7.875 kB / 0.8092 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5623, allocations: 4.125 kB / 0.8092 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.5625, allocations: 193.6 kB / 0.8094 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5625, allocations: 4 kB / 0.8094 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.5627, allocations: 35.92 kB / 0.8094 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5627, allocations: 0 / 0.8094 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5627, allocations: 8 kB / 0.8095 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5627, allocations: 4 kB / 0.8095 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.5627, allocations: 11.86 kB / 0.8095 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.5631, allocations: 198.5 kB / 0.8097 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.5631, allocations: 97.11 kB / 0.8098 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.5632, allocations: 0 / 0.8098 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5633, allocations: 11.98 kB / 0.8098 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.5633, allocations: 15.91 kB / 0.8098 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.5634, allocations: 12 kB / 0.8098 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.5634, allocations: 79.28 kB / 0.8099 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5634, allocations: 0 / 0.8099 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002299/0.5636, allocations: 28 kB / 0.8099 GB, free: 10.84 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.0006606/0.5643, allocations: 0.7468 MB / 0.8106 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.5645, allocations: 111.8 kB / 0.8107 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5645, allocations: 0 / 0.8107 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.5646, allocations: 51.92 kB / 0.8108 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.5649, allocations: 22.59 kB / 0.8108 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.5669, allocations: 1.811 MB / 0.8126 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.5673, allocations: 0.6969 MB / 0.8132 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.5674, allocations: 28.62 kB / 0.8133 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.5675, allocations: 23.44 kB / 0.8133 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.5675, allocations: 0 / 0.8133 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.5952, allocations: 2.415 MB / 0.8157 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.288, allocations: 11.81 kB / 0.8157 GB, free: 4.867 MB / 0.6387 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)