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.001593/0.001593, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001929/0.001929, allocations: 195.9 kB / 16.25 MB, free: 6.633 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.681/1.681, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.302/1.302, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 64.17 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2619, allocations: 80.92 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00454/0.2665, allocations: 1.331 MB / 0.5853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.8717/1.138, allocations: 144.8 MB / 0.7267 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/1.138, allocations: 0 / 0.7267 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.839e-05/1.138, allocations: 5.297 kB / 0.7267 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/1.139, allocations: 1.812 kB / 0.7267 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000697/1.139, allocations: 90.27 kB / 0.7268 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/1.139, allocations: 32.31 kB / 0.7269 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/1.139, allocations: 3.203 kB / 0.7269 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/1.14, allocations: 17.28 kB / 0.7269 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/1.14, allocations: 13.27 kB / 0.7269 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/1.14, allocations: 1.938 kB / 0.7269 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/1.14, allocations: 74.52 kB / 0.727 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/1.14, allocations: 8.109 kB / 0.727 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/1.14, allocations: 15.86 kB / 0.727 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/1.141, allocations: 64.53 kB / 0.727 GB, free: 2.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.141, allocations: 0.75 kB / 0.727 GB, free: 2.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.926e-06/1.141, allocations: 4 kB / 0.7271 GB, free: 2.723 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.526e-05/1.141, allocations: 1.062 kB / 0.7271 GB, free: 2.723 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.000627/1.141, allocations: 365.5 kB / 0.7274 GB, free: 2.344 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/1.141, allocations: 8.875 kB / 0.7274 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/1.141, allocations: 37.5 kB / 0.7274 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/1.142, allocations: 13.17 kB / 0.7275 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.142, allocations: 163 kB / 0.7276 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/1.142, allocations: 8.812 kB / 0.7276 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/1.142, allocations: 8.156 kB / 0.7276 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/1.142, allocations: 48.36 kB / 0.7277 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.142, allocations: 0.5625 kB / 0.7277 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/1.142, allocations: 1.156 kB / 0.7277 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/1.142, allocations: 1.094 kB / 0.7277 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/1.142, allocations: 20.88 kB / 0.7277 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/1.143, allocations: 178.7 kB / 0.7279 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/1.143, allocations: 51.61 kB / 0.7279 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/1.143, allocations: 15.08 kB / 0.7279 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/1.143, allocations: 1.094 kB / 0.7279 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/1.143, allocations: 36.61 kB / 0.728 GB, free: 1.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/1.143, allocations: 0 / 0.728 GB, free: 1.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001165/1.144, allocations: 372.1 kB / 0.7283 GB, free: 1.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.144, allocations: 56.53 kB / 0.7284 GB, free: 1.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/1.144, allocations: 93.53 kB / 0.7285 GB, free: 1.285 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/1.144, allocations: 30.73 kB / 0.7285 GB, free: 1.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/1.144, allocations: 84.12 kB / 0.7286 GB, free: 1.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/1.144, allocations: 39.98 kB / 0.7286 GB, free: 1.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/1.145, allocations: 28.78 kB / 0.7286 GB, free: 1.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.145, allocations: 321.3 kB / 0.7289 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/1.145, allocations: 22.41 kB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.725e-05/1.145, allocations: 36.38 kB / 0.729 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/1.145, allocations: 61.61 kB / 0.7291 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.145, allocations: 0 / 0.7291 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000257/1.145, allocations: 90.36 kB / 0.7292 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.145, allocations: 10 kB / 0.7292 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.145, allocations: 0 / 0.7292 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.145, allocations: 1.188 kB / 0.7292 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.146, allocations: 36.14 kB / 0.7292 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.146, allocations: 1.156 kB / 0.7292 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/1.146, allocations: 1.766 kB / 0.7292 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.146, allocations: 2.469 kB / 0.7292 GB, free: 0.6562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.146, allocations: 118.4 kB / 0.7293 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/1.146, allocations: 6.094 kB / 0.7293 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/1.146, allocations: 13.83 kB / 0.7293 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.146, allocations: 1.766 kB / 0.7293 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.146, allocations: 0 / 0.7293 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.146, allocations: 5.797 kB / 0.7293 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/1.146, allocations: 170.6 kB / 0.7295 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.146, allocations: 0 / 0.7295 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/1.147, allocations: 24.73 kB / 0.7295 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/1.147, allocations: 1.375 kB / 0.7295 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.147, allocations: 5.188 kB / 0.7295 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.147, allocations: 0.7031 kB / 0.7295 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/1.147, allocations: 5 kB / 0.7295 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/1.147, allocations: 134.3 kB / 0.7297 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.147, allocations: 91.05 kB / 0.7298 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/1.147, allocations: 1.922 kB / 0.7298 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/1.147, allocations: 3.078 kB / 0.7298 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/1.147, allocations: 12.89 kB / 0.7298 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/1.147, allocations: 7 kB / 0.7298 GB, free: 108 kB / 0.545 GB Notification: Performance of sorting global known variables: time 4.844e-05/1.147, allocations: 76.41 kB / 0.7298 GB, free: 32 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/1.147, allocations: 0 / 0.7298 GB, free: 32 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003997/1.148, allocations: 20.88 kB / 0.7299 GB, free: 24 kB / 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 (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.000709/1.149, allocations: 0.6665 MB / 0.7305 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002494/1.149, allocations: 58.75 kB / 0.7306 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.149, allocations: 1.906 kB / 0.7306 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/1.149, allocations: 36.48 kB / 0.7306 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/1.149, allocations: 5.734 kB / 0.7306 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/1.152, allocations: 1.461 MB / 0.732 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/1.152, allocations: 0.6904 MB / 0.7327 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001354/1.152, allocations: 14.17 kB / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/1.152, allocations: 20.88 kB / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/1.152, allocations: 0 / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/1.488, allocations: 1.554 MB / 0.7343 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/1.488, allocations: 217.4 kB / 0.7345 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.588/5.076, allocations: 0 / 0.7345 GB, free: 12.85 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)