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.0007918/0.0007918, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007587/0.0007587, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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 0.882/0.882, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:190: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-531:198: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.745/0.745, allocations: 154.6 MB / 414.5 MB, free: 0.8086 MB / 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 7.62e-07/7.62e-07, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.63e-05, allocations: 9.344 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001572/0.001588, allocations: 1.274 MB / 0.6205 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4415/0.4431, allocations: 129.1 MB / 0.7465 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.4431, allocations: 0 / 0.7465 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.4431, allocations: 1.312 kB / 0.7465 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.579e-05/0.4431, allocations: 9.719 kB / 0.7466 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.4434, allocations: 96.38 kB / 0.7467 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.4435, allocations: 31.03 kB / 0.7467 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 2.361e-05/0.4435, allocations: 3.094 kB / 0.7467 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.4435, allocations: 28.16 kB / 0.7467 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.4436, allocations: 8.453 kB / 0.7467 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.4436, allocations: 2.75 kB / 0.7467 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.4437, allocations: 75.67 kB / 0.7468 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.4437, allocations: 15.33 kB / 0.7468 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.4438, allocations: 7.781 kB / 0.7468 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.4439, allocations: 78.94 kB / 0.7469 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.4439, allocations: 0 / 0.7469 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4439, allocations: 0 / 0.7469 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.4439, allocations: 1.594 kB / 0.7469 GB, free: 19.74 MB / 0.6355 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.0001875/0.4441, allocations: 278.2 kB / 0.7472 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.4441, allocations: 10.88 kB / 0.7472 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4442, allocations: 19.41 kB / 0.7472 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.491e-05/0.4442, allocations: 103.7 kB / 0.7473 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.4442, allocations: 3.031 kB / 0.7473 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.4443, allocations: 12.03 kB / 0.7473 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.4443, allocations: 129.8 kB / 0.7474 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-06/0.4443, allocations: 1.562 kB / 0.7474 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.4443, allocations: 0 / 0.7474 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.4443, allocations: 1.578 kB / 0.7474 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.4444, allocations: 16.55 kB / 0.7474 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.481e-05/0.4445, allocations: 114.1 kB / 0.7476 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.4445, allocations: 49.7 kB / 0.7476 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.4445, allocations: 17.17 kB / 0.7476 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-06/0.4445, allocations: 1.188 kB / 0.7476 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.4445, allocations: 36.67 kB / 0.7476 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 5.31e-07/0.4445, allocations: 0 / 0.7476 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004677/0.445, allocations: 296.2 kB / 0.7479 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.37e-05/0.445, allocations: 56.78 kB / 0.748 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.273e-05/0.4451, allocations: 101.7 kB / 0.7481 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.4451, allocations: 26.8 kB / 0.7481 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-06/0.4451, allocations: 80.14 kB / 0.7482 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.4451, allocations: 50.5 kB / 0.7482 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.4451, allocations: 27.84 kB / 0.7483 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.776e-05/0.4451, allocations: 318.5 kB / 0.7486 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.4452, allocations: 25.52 kB / 0.7486 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.4452, allocations: 32.09 kB / 0.7486 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.793e-05/0.4453, allocations: 58.97 kB / 0.7487 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4453, allocations: 0 / 0.7487 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.486e-05/0.4453, allocations: 102.1 kB / 0.7488 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4454, allocations: 6.844 kB / 0.7488 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4454, allocations: 2.656 kB / 0.7488 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.4454, allocations: 1.469 kB / 0.7488 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.4454, allocations: 24.17 kB / 0.7488 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.4454, allocations: 9.406 kB / 0.7488 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.4455, allocations: 5.578 kB / 0.7488 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.4455, allocations: 3.75 kB / 0.7488 GB, free: 17.96 MB / 0.6355 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 3.418e-05/0.4455, allocations: 114 kB / 0.7489 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.4455, allocations: 11.36 kB / 0.7489 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.4455, allocations: 12.48 kB / 0.749 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4455, allocations: 2.672 kB / 0.749 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4455, allocations: 0 / 0.749 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4455, allocations: 1.625 kB / 0.749 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.69e-05/0.4456, allocations: 111.1 kB / 0.7491 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4456, allocations: 5.891 kB / 0.7491 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.4457, allocations: 25.33 kB / 0.7491 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4457, allocations: 5.656 kB / 0.7491 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.4457, allocations: 5.062 kB / 0.7491 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4457, allocations: 0.7031 kB / 0.7491 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4457, allocations: 1.438 kB / 0.7491 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.4458, allocations: 130.2 kB / 0.7492 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.4458, allocations: 13.61 kB / 0.7492 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.4458, allocations: 1.281 kB / 0.7492 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.4459, allocations: 3.609 kB / 0.7492 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.4459, allocations: 14.66 kB / 0.7493 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.4459, allocations: 2.688 kB / 0.7493 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.538e-06/0.4459, allocations: 77.41 kB / 0.7493 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4459, allocations: 0 / 0.7493 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001236/0.446, allocations: 17.14 kB / 0.7494 GB, free: 17.5 MB / 0.6355 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 5.953e-05/0.4461, allocations: 99.17 kB / 0.7495 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.502e-05/0.4462, allocations: 56.48 kB / 0.7495 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.4462, allocations: 5.438 kB / 0.7495 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.4462, allocations: 23.36 kB / 0.7495 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.4463, allocations: 12.38 kB / 0.7495 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.4466, allocations: 284 kB / 0.7498 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.4467, allocations: 70.45 kB / 0.7499 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.4467, allocations: 14.47 kB / 0.7499 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of SimCode: time 3.9e-07/0.4467, allocations: 4 kB / 0.7499 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.001475/0.4482, allocations: 0.8592 MB / 0.7507 GB, free: 17 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.434149551205337] Failed to read output from testmodel.py, exit status != 0: 0.4530587075278163 0.46129939000000003 0.015687252000000002 Calling exit ...