Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.001241/0.001241, 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.001358/0.001358, allocations: 195.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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9642/0.9642, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 65.12 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1549, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002186/0.1571, allocations: 1.271 MB / 0.5857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3898/0.5469, allocations: 147 MB / 0.7293 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.547, allocations: 1.188 kB / 0.7293 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.547, allocations: 1.266 kB / 0.7293 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.5471, allocations: 14.38 kB / 0.7293 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.5474, allocations: 96.09 kB / 0.7294 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.417e-05/0.5475, allocations: 33.25 kB / 0.7294 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.5476, allocations: 5.844 kB / 0.7294 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.5476, allocations: 17.95 kB / 0.7294 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.5477, allocations: 12.92 kB / 0.7294 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.5477, allocations: 2.188 kB / 0.7294 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.5479, allocations: 82.95 kB / 0.7295 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.548, allocations: 8.484 kB / 0.7295 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.548, allocations: 16.56 kB / 0.7295 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.5482, allocations: 67.83 kB / 0.7296 GB, free: 1.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.5482, allocations: 0 / 0.7296 GB, free: 1.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5482, allocations: 0.5625 kB / 0.7296 GB, free: 1.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.5482, allocations: 0 / 0.7296 GB, free: 1.023 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003837/0.5486, allocations: 350.7 kB / 0.7299 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5486, allocations: 10.12 kB / 0.7299 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.5487, allocations: 36.8 kB / 0.73 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.5489, allocations: 17 kB / 0.73 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.23e-05/0.549, allocations: 169.6 kB / 0.7302 GB, free: 420 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.549, allocations: 6.188 kB / 0.7302 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.549, allocations: 8.156 kB / 0.7302 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5491, allocations: 49.94 kB / 0.7302 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5491, allocations: 0 / 0.7302 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.5492, allocations: 1.672 kB / 0.7302 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5492, allocations: 1.125 kB / 0.7302 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.5492, allocations: 16.62 kB / 0.7302 GB, free: 372 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.5494, allocations: 179 kB / 0.7304 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.5495, allocations: 55.73 kB / 0.7305 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.5495, allocations: 13.06 kB / 0.7305 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.5495, allocations: 1.344 kB / 0.7305 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5496, allocations: 36.72 kB / 0.7305 GB, free: 64 kB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.5496, allocations: 0 / 0.7305 GB, free: 64 kB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000683/0.5502, allocations: 368 kB / 0.7309 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.5503, allocations: 53.5 kB / 0.7309 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.5504, allocations: 96.27 kB / 0.731 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.5504, allocations: 30.8 kB / 0.731 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.5504, allocations: 81.3 kB / 0.7311 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.5505, allocations: 43.42 kB / 0.7311 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.5505, allocations: 31.89 kB / 0.7312 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5507, allocations: 324 kB / 0.7315 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.5507, allocations: 15.92 kB / 0.7315 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.5508, allocations: 36.11 kB / 0.7315 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.5509, allocations: 64.47 kB / 0.7316 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5509, allocations: 0 / 0.7316 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001328/0.551, allocations: 95.02 kB / 0.7317 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5511, allocations: 5.516 kB / 0.7317 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5511, allocations: 5.469 kB / 0.7317 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.5511, allocations: 1.25 kB / 0.7317 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5512, allocations: 20.44 kB / 0.7317 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5512, allocations: 4.969 kB / 0.7317 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.5512, allocations: 1.281 kB / 0.7317 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5513, allocations: 3.219 kB / 0.7317 GB, free: 14.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.511e-05/0.5513, allocations: 121.8 kB / 0.7318 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.5514, allocations: 6.375 kB / 0.7319 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.5514, allocations: 14.09 kB / 0.7319 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5514, allocations: 1.125 kB / 0.7319 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5514, allocations: 1.125 kB / 0.7319 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5514, allocations: 0.8906 kB / 0.7319 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.5516, allocations: 174.2 kB / 0.732 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5516, allocations: 1.094 kB / 0.732 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.5517, allocations: 23.83 kB / 0.7321 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5517, allocations: 4.906 kB / 0.7321 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5518, allocations: 6.453 kB / 0.7321 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5518, allocations: 0 / 0.7321 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5518, allocations: 0.875 kB / 0.7321 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.552, allocations: 138.1 kB / 0.7322 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.552, allocations: 87.28 kB / 0.7323 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5521, allocations: 2.516 kB / 0.7323 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.5522, allocations: 6.812 kB / 0.7323 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.5522, allocations: 6.109 kB / 0.7323 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.5522, allocations: 2.344 kB / 0.7323 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.5522, allocations: 81.02 kB / 0.7324 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5522, allocations: 1.188 kB / 0.7324 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001961/0.5524, allocations: 20 kB / 0.7324 GB, free: 14.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0004279/0.5529, allocations: 0.6674 MB / 0.7331 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.553, allocations: 65.61 kB / 0.7331 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.553, allocations: 5.5 kB / 0.7331 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.5531, allocations: 33.22 kB / 0.7332 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.5533, allocations: 4.188 kB / 0.7332 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.5547, allocations: 1.446 MB / 0.7346 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.555, allocations: 0.6939 MB / 0.7352 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.237e-05/0.5551, allocations: 10.28 kB / 0.7353 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.5551, allocations: 16.88 kB / 0.7353 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5551, allocations: 0 / 0.7353 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.5739, allocations: 1.635 MB / 0.7369 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.718, allocations: 15.17 kB / 0.7369 GB, free: 11.3 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_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_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)