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.001098/0.001098, allocations: 108 kB / 15.61 MB, free: 152 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.001235/0.001235, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9233/0.9233, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 67.94 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1647, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002298/0.1671, allocations: 1.326 MB / 0.5858 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3761/0.5431, allocations: 148.1 MB / 0.7304 GB, free: 452 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.5432, allocations: 4 kB / 0.7304 GB, free: 448 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.5433, allocations: 1.406 kB / 0.7304 GB, free: 448 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.5434, allocations: 21.94 kB / 0.7304 GB, free: 432 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.5444, allocations: 323.6 kB / 0.7307 GB, free: 276 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.5445, allocations: 61.53 kB / 0.7308 GB, free: 256 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.5445, allocations: 7.078 kB / 0.7308 GB, free: 252 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.5446, allocations: 28.08 kB / 0.7308 GB, free: 244 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.5447, allocations: 35.59 kB / 0.7308 GB, free: 228 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.5447, allocations: 3.438 kB / 0.7308 GB, free: 228 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008298/0.5455, allocations: 405.2 kB / 0.7312 GB, free: 60 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.5456, allocations: 16.64 kB / 0.7312 GB, free: 52 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.5456, allocations: 26.47 kB / 0.7313 GB, free: 40 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.546, allocations: 165.7 kB / 0.7314 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.546, allocations: 0 / 0.7314 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.546, allocations: 2.219 kB / 0.7314 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.546, allocations: 0 / 0.7314 GB, free: 15.98 MB / 0.5606 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.0004304/0.5465, allocations: 389.5 kB / 0.7318 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5465, allocations: 9.656 kB / 0.7318 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.5466, allocations: 40.89 kB / 0.7318 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.547, allocations: 44.33 kB / 0.7319 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5471, allocations: 167.9 kB / 0.732 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5471, allocations: 7.344 kB / 0.732 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.5472, allocations: 9.156 kB / 0.7321 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.5473, allocations: 82.2 kB / 0.7321 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.5473, allocations: 0 / 0.7321 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5474, allocations: 8.312 kB / 0.7321 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.5474, allocations: 1.219 kB / 0.7321 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.5475, allocations: 45.38 kB / 0.7322 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.5477, allocations: 195.6 kB / 0.7324 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.5479, allocations: 89.92 kB / 0.7325 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.5479, allocations: 34.36 kB / 0.7325 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.5482, allocations: 178.2 kB / 0.7327 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.5482, allocations: 32.06 kB / 0.7327 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5482, allocations: 9.406 kB / 0.7327 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001318/0.5496, allocations: 0.5329 MB / 0.7332 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.5496, allocations: 57.91 kB / 0.7333 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/0.5497, allocations: 102.5 kB / 0.7334 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.5497, allocations: 32.02 kB / 0.7334 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.5497, allocations: 84.52 kB / 0.7335 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.5498, allocations: 69.56 kB / 0.7336 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.5499, allocations: 39.52 kB / 0.7336 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.55, allocations: 319.7 kB / 0.7339 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.5501, allocations: 35.56 kB / 0.7339 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.5502, allocations: 77.14 kB / 0.734 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.5503, allocations: 113.5 kB / 0.7341 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5503, allocations: 1.344 kB / 0.7341 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002197/0.5506, allocations: 162.1 kB / 0.7343 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5506, allocations: 7.438 kB / 0.7343 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5506, allocations: 1.766 kB / 0.7343 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5506, allocations: 2.156 kB / 0.7343 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.5508, allocations: 44.66 kB / 0.7343 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5508, allocations: 1.656 kB / 0.7343 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.5509, allocations: 10.12 kB / 0.7343 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.5509, allocations: 9.625 kB / 0.7343 GB, free: 13.5 MB / 0.5606 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.273e-05/0.551, allocations: 115.4 kB / 0.7345 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.551, allocations: 8.5 kB / 0.7345 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.551, allocations: 18.56 kB / 0.7345 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.551, allocations: 1.156 kB / 0.7345 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5511, allocations: 5.219 kB / 0.7345 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5511, allocations: 9.578 kB / 0.7345 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.5512, allocations: 192.8 kB / 0.7347 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5512, allocations: 1.312 kB / 0.7347 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.5514, allocations: 35.88 kB / 0.7347 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5514, allocations: 1.156 kB / 0.7347 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.5515, allocations: 5.609 kB / 0.7347 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5515, allocations: 1.906 kB / 0.7347 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5515, allocations: 0.9375 kB / 0.7347 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.5518, allocations: 218.1 kB / 0.7349 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.5519, allocations: 90.75 kB / 0.735 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.5519, allocations: 6.656 kB / 0.735 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.552, allocations: 4.641 kB / 0.735 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.5521, allocations: 17.59 kB / 0.735 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5521, allocations: 5.422 kB / 0.735 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.5521, allocations: 77.53 kB / 0.7351 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5521, allocations: 1.562 kB / 0.7351 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002293/0.5524, allocations: 30.22 kB / 0.7352 GB, free: 12.83 MB / 0.5606 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.0005712/0.5529, allocations: 0.754 MB / 0.7359 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.5532, allocations: 118.6 kB / 0.736 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5532, allocations: 1.125 kB / 0.736 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.5533, allocations: 55.16 kB / 0.7361 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.5535, allocations: 23.47 kB / 0.7361 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.5553, allocations: 1.808 MB / 0.7378 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.5556, allocations: 0.6998 MB / 0.7385 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.5557, allocations: 25.66 kB / 0.7386 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.5558, allocations: 23.31 kB / 0.7386 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5558, allocations: 3.938 kB / 0.7386 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.5739, allocations: 2.379 MB / 0.7409 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.757, allocations: 15.08 kB / 0.7409 GB, free: 9.277 MB / 0.5606 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)