Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001144/0.001144, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.812/0.812, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.03 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1854, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002649/0.1881, allocations: 1.266 MB / 0.6615 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6247/0.8128, allocations: 147 MB / 0.8051 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.8129, allocations: 1.5 kB / 0.8051 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.813, allocations: 6.469 kB / 0.8051 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.813, allocations: 2.109 kB / 0.8051 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.8135, allocations: 89.72 kB / 0.8052 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.8136, allocations: 43.72 kB / 0.8052 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.8136, allocations: 2.25 kB / 0.8052 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.8137, allocations: 13.66 kB / 0.8053 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.8138, allocations: 17.64 kB / 0.8053 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.8138, allocations: 1.188 kB / 0.8053 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.8141, allocations: 80.77 kB / 0.8054 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.8141, allocations: 5.969 kB / 0.8054 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.8141, allocations: 15.31 kB / 0.8054 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.8143, allocations: 66.06 kB / 0.8054 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8143, allocations: 0 / 0.8054 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8144, allocations: 4 kB / 0.8054 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.8144, allocations: 1.156 kB / 0.8054 GB, free: 11.93 MB / 0.5919 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.0004708/0.8148, allocations: 355.2 kB / 0.8058 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.8149, allocations: 8.625 kB / 0.8058 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.8151, allocations: 14.28 kB / 0.8058 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.8153, allocations: 167.9 kB / 0.806 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.8153, allocations: 8.047 kB / 0.806 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.8153, allocations: 11.97 kB / 0.806 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.8155, allocations: 49.11 kB / 0.806 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8155, allocations: 0 / 0.806 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.8155, allocations: 5.5 kB / 0.806 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.8155, allocations: 1.406 kB / 0.806 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.8156, allocations: 12.59 kB / 0.806 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.8157, allocations: 168.8 kB / 0.8062 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.8158, allocations: 61.56 kB / 0.8063 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.8159, allocations: 20.92 kB / 0.8063 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.8159, allocations: 1.188 kB / 0.8063 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8159, allocations: 33 kB / 0.8063 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.816, allocations: 0 / 0.8063 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007487/0.8167, allocations: 370.5 kB / 0.8067 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.8168, allocations: 56.47 kB / 0.8067 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.8168, allocations: 95.17 kB / 0.8068 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.8168, allocations: 30.83 kB / 0.8068 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.8169, allocations: 81.92 kB / 0.8069 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.8169, allocations: 37.84 kB / 0.807 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.817, allocations: 26.94 kB / 0.807 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8171, allocations: 321.9 kB / 0.8073 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.8171, allocations: 20.38 kB / 0.8073 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.8172, allocations: 39.5 kB / 0.8073 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.8173, allocations: 57.47 kB / 0.8074 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.8173, allocations: 0 / 0.8074 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001433/0.8174, allocations: 104.2 kB / 0.8075 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8175, allocations: 8.344 kB / 0.8075 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8175, allocations: 2.109 kB / 0.8075 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8175, allocations: 0 / 0.8075 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.8176, allocations: 28.5 kB / 0.8075 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.8176, allocations: 1.188 kB / 0.8075 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.8177, allocations: 7.688 kB / 0.8075 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.8177, allocations: 2.438 kB / 0.8076 GB, free: 10.07 MB / 0.5919 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.347e-05/0.8178, allocations: 121.1 kB / 0.8077 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.8178, allocations: 2.438 kB / 0.8077 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.8178, allocations: 8.469 kB / 0.8077 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8178, allocations: 1.312 kB / 0.8077 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8179, allocations: 0 / 0.8077 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8179, allocations: 2.438 kB / 0.8077 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.818, allocations: 180 kB / 0.8079 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.818, allocations: 1.219 kB / 0.8079 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.8181, allocations: 24.47 kB / 0.8079 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.8182, allocations: 0 / 0.8079 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.8182, allocations: 4.5 kB / 0.8079 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8182, allocations: 1.438 kB / 0.8079 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8182, allocations: 0 / 0.8079 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.8184, allocations: 138.6 kB / 0.808 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.8185, allocations: 87.86 kB / 0.8081 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.8185, allocations: 7.625 kB / 0.8081 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.8186, allocations: 2.438 kB / 0.8081 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.8186, allocations: 8.812 kB / 0.8081 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.8186, allocations: 5.156 kB / 0.8081 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.8187, allocations: 75.28 kB / 0.8082 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8187, allocations: 0 / 0.8082 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001946/0.8189, allocations: 16.69 kB / 0.8082 GB, free: 9.492 MB / 0.5919 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.0001026/0.819, allocations: 110.3 kB / 0.8083 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.8191, allocations: 57.12 kB / 0.8084 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8191, allocations: 3.938 kB / 0.8084 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.8192, allocations: 29.06 kB / 0.8084 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.8194, allocations: 7.75 kB / 0.8084 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.82, allocations: 347.4 kB / 0.8087 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.8203, allocations: 0.6841 MB / 0.8094 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.8203, allocations: 13.28 kB / 0.8094 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.8203, allocations: 4 kB / 0.8094 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of Templates: time 0.002353/0.8227, allocations: 0.8326 MB / 0.8102 GB, free: 8.344 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)