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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8155/0.8155, allocations: 154.9 MB / 415.9 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5218 GB, free: 492 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.722e-05, allocations: 5.156 kB / 0.5219 GB, free: 488 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002482/0.002509, allocations: 1.316 MB / 0.5231 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4611/0.4636, allocations: 140.1 MB / 0.6599 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.4636, allocations: 0.9062 kB / 0.66 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.4636, allocations: 3.094 kB / 0.66 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.4637, allocations: 6.312 kB / 0.66 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.4642, allocations: 99.12 kB / 0.6601 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.4642, allocations: 30.59 kB / 0.6601 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.4643, allocations: 9.109 kB / 0.6601 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.4644, allocations: 21.3 kB / 0.6601 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/0.4644, allocations: 15.78 kB / 0.6601 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.4644, allocations: 1.656 kB / 0.6601 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.4647, allocations: 74.41 kB / 0.6602 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.4647, allocations: 10.88 kB / 0.6602 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.4647, allocations: 11.39 kB / 0.6602 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4649, allocations: 74.34 kB / 0.6603 GB, free: 16.46 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4649, allocations: 0 / 0.6603 GB, free: 16.46 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.826e-06/0.4649, allocations: 2.016 kB / 0.6603 GB, free: 16.46 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4649, allocations: 4 kB / 0.6603 GB, free: 16.46 MB / 0.5573 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.0003361/0.4652, allocations: 380.2 kB / 0.6607 GB, free: 16.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4653, allocations: 10 kB / 0.6607 GB, free: 16.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.4654, allocations: 24.84 kB / 0.6607 GB, free: 16.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.888e-05/0.4655, allocations: 107.4 kB / 0.6608 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4655, allocations: 9.703 kB / 0.6608 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4656, allocations: 9.109 kB / 0.6608 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4657, allocations: 128.8 kB / 0.6609 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4657, allocations: 0 / 0.6609 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4657, allocations: 5.062 kB / 0.6609 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4657, allocations: 1.188 kB / 0.6609 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.4657, allocations: 12.08 kB / 0.661 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.4658, allocations: 104.1 kB / 0.6611 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.4659, allocations: 55.8 kB / 0.6611 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.4659, allocations: 16.56 kB / 0.6611 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.4659, allocations: 1.938 kB / 0.6611 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.466, allocations: 39.83 kB / 0.6612 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.466, allocations: 0 / 0.6612 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0005366/0.4665, allocations: 296.7 kB / 0.6614 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.4665, allocations: 54.53 kB / 0.6615 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.834e-05/0.4666, allocations: 152.3 kB / 0.6616 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.4666, allocations: 30.55 kB / 0.6617 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.4666, allocations: 129.7 kB / 0.6618 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.4666, allocations: 41.92 kB / 0.6618 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.4667, allocations: 32.62 kB / 0.6619 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.4667, allocations: 498.4 kB / 0.6623 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.4668, allocations: 10.36 kB / 0.6624 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.4668, allocations: 38.22 kB / 0.6624 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.4668, allocations: 56.97 kB / 0.6624 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4668, allocations: 1.094 kB / 0.6624 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001003/0.4669, allocations: 83.83 kB / 0.6625 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.467, allocations: 5.062 kB / 0.6625 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.467, allocations: 0.8438 kB / 0.6625 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.467, allocations: 1.531 kB / 0.6625 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.4671, allocations: 26.95 kB / 0.6626 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4671, allocations: 1.562 kB / 0.6626 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.4671, allocations: 0.75 kB / 0.6626 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.4671, allocations: 8.594 kB / 0.6626 GB, free: 14.41 MB / 0.5573 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 5.574e-05/0.4672, allocations: 165.2 kB / 0.6627 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.4672, allocations: 10.88 kB / 0.6627 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.4672, allocations: 10.78 kB / 0.6627 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4672, allocations: 1.438 kB / 0.6627 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4672, allocations: 3.938 kB / 0.6627 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4672, allocations: 0.7812 kB / 0.6628 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.962e-05/0.4673, allocations: 103.9 kB / 0.6628 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4673, allocations: 0 / 0.6628 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.4674, allocations: 26.81 kB / 0.6629 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4674, allocations: 0.9062 kB / 0.6629 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4674, allocations: 5.984 kB / 0.6629 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4674, allocations: 6.641 kB / 0.6629 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4674, allocations: 0.6562 kB / 0.6629 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.4676, allocations: 134.1 kB / 0.663 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.4676, allocations: 7.75 kB / 0.663 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.4676, allocations: 3.469 kB / 0.663 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.341e-05/0.4676, allocations: 9.5 kB / 0.663 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.4677, allocations: 7.391 kB / 0.663 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.4677, allocations: 2.75 kB / 0.663 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.912e-05/0.4677, allocations: 120.1 kB / 0.6632 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4677, allocations: 4.094 kB / 0.6632 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001388/0.4678, allocations: 17.19 kB / 0.6632 GB, free: 13.91 MB / 0.5573 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.0001053/0.4679, allocations: 104.1 kB / 0.6633 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.468, allocations: 45.81 kB / 0.6633 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.468, allocations: 1.094 kB / 0.6633 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.4681, allocations: 36.89 kB / 0.6634 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.4683, allocations: 27.2 kB / 0.6634 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.4688, allocations: 285.7 kB / 0.6637 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.896e-05/0.4689, allocations: 62.08 kB / 0.6637 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.48e-05/0.4689, allocations: 8.953 kB / 0.6637 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.469, allocations: 97.86 kB / 0.6638 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.469, allocations: 0.6562 kB / 0.6638 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of Templates: time 0.002815/0.4718, allocations: 0.9435 MB / 0.6647 GB, free: 13.33 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2488874099217355]