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.001179/0.001179, 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.001212/0.001212, allocations: 196 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8919/0.8919, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.28 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1248, allocations: 80.93 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002175/0.127, allocations: 1.264 MB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.356/0.4831, allocations: 147 MB / 0.7293 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.4831, allocations: 0 / 0.7293 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.4832, allocations: 1.312 kB / 0.7293 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.4833, allocations: 14.47 kB / 0.7293 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.4837, allocations: 91.81 kB / 0.7294 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.4838, allocations: 37.25 kB / 0.7294 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.4838, allocations: 6.812 kB / 0.7294 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.4839, allocations: 17.34 kB / 0.7294 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.4839, allocations: 16.62 kB / 0.7294 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.484, allocations: 2.25 kB / 0.7294 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.4842, allocations: 75.36 kB / 0.7295 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.4843, allocations: 12.14 kB / 0.7295 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.4843, allocations: 15.89 kB / 0.7295 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.4845, allocations: 69.11 kB / 0.7296 GB, free: 1.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4845, allocations: 0 / 0.7296 GB, free: 1.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4845, allocations: 0 / 0.7296 GB, free: 1.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4845, allocations: 0 / 0.7296 GB, free: 1.18 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.0003485/0.4848, allocations: 350.1 kB / 0.7299 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4849, allocations: 9.219 kB / 0.7299 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.4849, allocations: 37.78 kB / 0.73 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.4851, allocations: 16.41 kB / 0.73 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.4852, allocations: 167 kB / 0.7302 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4852, allocations: 6.062 kB / 0.7302 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4853, allocations: 10.91 kB / 0.7302 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.4854, allocations: 51.42 kB / 0.7302 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.4854, allocations: 1.125 kB / 0.7302 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4854, allocations: 4 kB / 0.7302 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4854, allocations: 1.094 kB / 0.7302 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.4855, allocations: 13.42 kB / 0.7302 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.4856, allocations: 179.7 kB / 0.7304 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.4857, allocations: 50.73 kB / 0.7305 GB, free: 280 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.4857, allocations: 17.88 kB / 0.7305 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.4857, allocations: 1.406 kB / 0.7305 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4858, allocations: 32.14 kB / 0.7305 GB, free: 228 kB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4858, allocations: 0 / 0.7305 GB, free: 228 kB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0006709/0.4865, allocations: 368.4 kB / 0.7309 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.4865, allocations: 53.36 kB / 0.7309 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.4865, allocations: 96.28 kB / 0.731 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4866, allocations: 31.17 kB / 0.731 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.4866, allocations: 80.14 kB / 0.7311 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.4866, allocations: 40.17 kB / 0.7311 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.4867, allocations: 32.36 kB / 0.7312 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.4868, allocations: 321.5 kB / 0.7315 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.4868, allocations: 20.91 kB / 0.7315 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.4869, allocations: 36.55 kB / 0.7315 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.487, allocations: 59.95 kB / 0.7316 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.487, allocations: 0 / 0.7316 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000127/0.4871, allocations: 96.89 kB / 0.7317 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4871, allocations: 10.33 kB / 0.7317 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4871, allocations: 0 / 0.7317 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4871, allocations: 1.406 kB / 0.7317 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4873, allocations: 27.03 kB / 0.7317 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4873, allocations: 1.062 kB / 0.7317 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.4873, allocations: 1.125 kB / 0.7317 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4873, allocations: 6.875 kB / 0.7317 GB, free: 15.13 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 6.819e-05/0.4874, allocations: 118.1 kB / 0.7318 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.4874, allocations: 7.656 kB / 0.7319 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.4874, allocations: 12.48 kB / 0.7319 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4875, allocations: 1.656 kB / 0.7319 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4875, allocations: 0.75 kB / 0.7319 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4875, allocations: 0.5156 kB / 0.7319 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.4876, allocations: 176.5 kB / 0.732 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4876, allocations: 0 / 0.732 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4877, allocations: 29.09 kB / 0.7321 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4877, allocations: 5.172 kB / 0.7321 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4877, allocations: 6.656 kB / 0.7321 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4877, allocations: 1.062 kB / 0.7321 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4877, allocations: 4 kB / 0.7321 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.4879, allocations: 133.3 kB / 0.7322 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.488, allocations: 86.69 kB / 0.7323 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.488, allocations: 1.25 kB / 0.7323 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.4881, allocations: 8.922 kB / 0.7323 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.4881, allocations: 5.781 kB / 0.7323 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4881, allocations: 3.344 kB / 0.7323 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.4882, allocations: 80.97 kB / 0.7324 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4882, allocations: 0 / 0.7324 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001944/0.4884, allocations: 20.12 kB / 0.7324 GB, free: 14.5 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.0003904/0.4888, allocations: 0.6709 MB / 0.7331 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.4889, allocations: 63.08 kB / 0.7331 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.489, allocations: 6.125 kB / 0.7331 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.489, allocations: 28.39 kB / 0.7332 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.4892, allocations: 10.89 kB / 0.7332 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4905, allocations: 1.436 MB / 0.7346 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.4907, allocations: 0.6885 MB / 0.7352 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.49e-05/0.4907, allocations: 12.22 kB / 0.7353 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.4908, allocations: 15.38 kB / 0.7353 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.4908, allocations: 0.9688 kB / 0.7353 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.312/0.8028, allocations: 1.645 MB / 0.7369 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.919, allocations: 11.5 kB / 0.7369 GB, free: 11.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)