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.0008997/0.0009, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009166/0.0009168, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9704/0.9704, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 15.94 kB / 0.5071 GB, free: 5.059 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 82.32 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001308/0.2066, allocations: 0.99 MB / 0.5884 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.54/0.7466, allocations: 133.4 MB / 0.7188 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.7467, allocations: 1.219 kB / 0.7188 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.7467, allocations: 1.359 kB / 0.7188 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.7468, allocations: 17.78 kB / 0.7188 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.7472, allocations: 73.81 kB / 0.7188 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.7473, allocations: 29.28 kB / 0.7189 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.7473, allocations: 3 kB / 0.7189 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.7474, allocations: 17.7 kB / 0.7189 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.7475, allocations: 16.34 kB / 0.7189 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.7475, allocations: 2.25 kB / 0.7189 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.7478, allocations: 75.27 kB / 0.719 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.7478, allocations: 4.328 kB / 0.719 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.7479, allocations: 36.7 kB / 0.719 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.748, allocations: 43.69 kB / 0.7191 GB, free: 11.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.748, allocations: 1.031 kB / 0.7191 GB, free: 11.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.494e-06/0.748, allocations: 0 / 0.7191 GB, free: 11.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7481, allocations: 3.562 kB / 0.7191 GB, free: 11.82 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.0004556/0.7485, allocations: 339.6 kB / 0.7194 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.7486, allocations: 9.062 kB / 0.7194 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.7486, allocations: 40.69 kB / 0.7194 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.7488, allocations: 15.95 kB / 0.7195 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.749, allocations: 160.9 kB / 0.7196 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.749, allocations: 3.812 kB / 0.7196 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.749, allocations: 8.062 kB / 0.7196 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.7492, allocations: 52.22 kB / 0.7197 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7492, allocations: 3.938 kB / 0.7197 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.7492, allocations: 4.938 kB / 0.7197 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7492, allocations: 0.9375 kB / 0.7197 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.7493, allocations: 21.02 kB / 0.7197 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.7495, allocations: 170.7 kB / 0.7199 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.7496, allocations: 51.8 kB / 0.7199 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.7497, allocations: 16.94 kB / 0.7199 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.7497, allocations: 0 / 0.7199 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7497, allocations: 40.16 kB / 0.72 GB, free: 10.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 6.92e-07/0.7497, allocations: 0 / 0.72 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007523/0.7505, allocations: 366.6 kB / 0.7203 GB, free: 10.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.7505, allocations: 53.94 kB / 0.7204 GB, free: 10.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.7506, allocations: 92.61 kB / 0.7205 GB, free: 10.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.7506, allocations: 30.83 kB / 0.7205 GB, free: 10.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.7506, allocations: 80.14 kB / 0.7206 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.7507, allocations: 51.73 kB / 0.7206 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.7507, allocations: 1.469 kB / 0.7206 GB, free: 10.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7508, allocations: 318.7 kB / 0.7209 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.7509, allocations: 16.39 kB / 0.7209 GB, free: 9.922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/0.751, allocations: 38.62 kB / 0.721 GB, free: 9.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.751, allocations: 25.92 kB / 0.721 GB, free: 9.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.751, allocations: 0 / 0.721 GB, free: 9.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001588/0.7512, allocations: 93.92 kB / 0.7211 GB, free: 9.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7512, allocations: 5.875 kB / 0.7211 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.7512, allocations: 4 kB / 0.7211 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.7512, allocations: 1.188 kB / 0.7211 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.7514, allocations: 25.55 kB / 0.7211 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7514, allocations: 5.516 kB / 0.7211 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.7514, allocations: 4.797 kB / 0.7211 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.7514, allocations: 5.469 kB / 0.7211 GB, free: 9.816 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.7515, allocations: 113.3 kB / 0.7212 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.7516, allocations: 6.469 kB / 0.7212 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.7516, allocations: 16.72 kB / 0.7213 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7516, allocations: 2 kB / 0.7213 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7516, allocations: 0.7969 kB / 0.7213 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.7516, allocations: 4.922 kB / 0.7213 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.7518, allocations: 167 kB / 0.7214 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7518, allocations: 0 / 0.7214 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.7519, allocations: 25.42 kB / 0.7214 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7519, allocations: 1.188 kB / 0.7215 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.7519, allocations: 0 / 0.7215 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.752, allocations: 3.109 kB / 0.7215 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.752, allocations: 3.984 kB / 0.7215 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.7522, allocations: 137.2 kB / 0.7216 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.7523, allocations: 86.8 kB / 0.7217 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.7523, allocations: 4.656 kB / 0.7217 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.7524, allocations: 3.469 kB / 0.7217 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.7525, allocations: 10.78 kB / 0.7217 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.7525, allocations: 7.094 kB / 0.7217 GB, free: 9.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.7525, allocations: 82.23 kB / 0.7218 GB, free: 9.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7525, allocations: 0 / 0.7218 GB, free: 9.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000195/0.7527, allocations: 15.69 kB / 0.7218 GB, free: 9.188 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005245/0.7533, allocations: 0.6671 MB / 0.7224 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.7534, allocations: 56.23 kB / 0.7225 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7534, allocations: 4.094 kB / 0.7225 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.7535, allocations: 31.55 kB / 0.7225 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.7537, allocations: 8.703 kB / 0.7225 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.7549, allocations: 0.6741 MB / 0.7232 GB, free: 7.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.7551, allocations: 0.6868 MB / 0.7239 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.202e-05/0.7552, allocations: 10.44 kB / 0.7239 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.7553, allocations: 25.67 kB / 0.7239 GB, free: 7.273 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.7553, allocations: 0 / 0.7239 GB, free: 7.273 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.7672, allocations: 1.419 MB / 0.7253 GB, free: 7.133 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.7675, allocations: 207 kB / 0.7255 GB, free: 6.887 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.533, allocations: 0 / 0.7255 GB, free: 6.887 MB / 0.545 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/linux/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) Environment - environmentSimulation: