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.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.001446/0.001446, allocations: 74.58 kB / 19.18 MB, free: 2.539 MB / 14.72 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.001742/0.001742, allocations: 169.5 kB / 22.46 MB, free: 5.348 MB / 14.72 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.548/1.548, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.246/1.246, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6185 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.198e-05, allocations: 5.609 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002497/0.002529, allocations: 1.292 MB / 0.6198 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.7234/0.7259, allocations: 129.1 MB / 0.7459 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.726, allocations: 0 / 0.7459 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.726, allocations: 2.672 kB / 0.7459 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.7261, allocations: 2.781 kB / 0.7459 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.7266, allocations: 98.23 kB / 0.746 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.7267, allocations: 36.39 kB / 0.746 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.7267, allocations: 1.406 kB / 0.746 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.7268, allocations: 21.16 kB / 0.746 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.7269, allocations: 15.2 kB / 0.746 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.7269, allocations: 1.094 kB / 0.746 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.7271, allocations: 76.91 kB / 0.7461 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.7272, allocations: 12.38 kB / 0.7461 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.7272, allocations: 9.188 kB / 0.7461 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.7274, allocations: 74.88 kB / 0.7462 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7274, allocations: 4 kB / 0.7462 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7274, allocations: 0 / 0.7462 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.7274, allocations: 3.938 kB / 0.7462 GB, free: 6.148 MB / 0.6075 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.0003989/0.7278, allocations: 275.5 kB / 0.7465 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7278, allocations: 9.844 kB / 0.7465 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.728, allocations: 10.62 kB / 0.7465 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.438e-05/0.7281, allocations: 110.2 kB / 0.7466 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.7281, allocations: 2.75 kB / 0.7466 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.7282, allocations: 7.781 kB / 0.7466 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.7283, allocations: 134.5 kB / 0.7467 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7283, allocations: 4.984 kB / 0.7467 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.7283, allocations: 1.156 kB / 0.7467 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7283, allocations: 2.672 kB / 0.7467 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.7284, allocations: 19.38 kB / 0.7468 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.7285, allocations: 111.8 kB / 0.7469 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.7286, allocations: 44.94 kB / 0.7469 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.7287, allocations: 16.34 kB / 0.7469 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.7287, allocations: 5.562 kB / 0.7469 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.7287, allocations: 35.31 kB / 0.747 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.7287, allocations: 4 kB / 0.747 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0007222/0.7294, allocations: 294 kB / 0.7473 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.7295, allocations: 54.03 kB / 0.7473 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/0.7295, allocations: 93.34 kB / 0.7474 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.7295, allocations: 32.67 kB / 0.7474 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.7295, allocations: 81.48 kB / 0.7475 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.7296, allocations: 44.97 kB / 0.7475 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.7296, allocations: 26.59 kB / 0.7476 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.7297, allocations: 323.5 kB / 0.7479 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.7297, allocations: 15.67 kB / 0.7479 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.7298, allocations: 36.3 kB / 0.7479 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.158e-05/0.7299, allocations: 60.8 kB / 0.748 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.7299, allocations: 3.938 kB / 0.748 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001311/0.73, allocations: 95.12 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.73, allocations: 5.125 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.73, allocations: 0 / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.73, allocations: 1.531 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.7301, allocations: 30.81 kB / 0.7481 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7302, allocations: 4.812 kB / 0.7481 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.7302, allocations: 8.656 kB / 0.7481 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.7302, allocations: 2.594 kB / 0.7481 GB, free: 4.523 MB / 0.6075 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 7.661e-05/0.7303, allocations: 113.9 kB / 0.7482 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.7303, allocations: 10.73 kB / 0.7483 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.7303, allocations: 10.53 kB / 0.7483 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.7303, allocations: 1.375 kB / 0.7483 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7304, allocations: 3.641 kB / 0.7483 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7304, allocations: 0 / 0.7483 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.7304, allocations: 113.7 kB / 0.7484 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7304, allocations: 0 / 0.7484 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.7306, allocations: 28.92 kB / 0.7484 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7306, allocations: 5.188 kB / 0.7484 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.7306, allocations: 4.062 kB / 0.7484 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7306, allocations: 5.312 kB / 0.7484 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7306, allocations: 0 / 0.7484 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.7308, allocations: 133.2 kB / 0.7485 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.7308, allocations: 11 kB / 0.7486 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.7309, allocations: 3.281 kB / 0.7486 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.7309, allocations: 6.656 kB / 0.7486 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.731, allocations: 7.281 kB / 0.7486 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.731, allocations: 6.531 kB / 0.7486 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.185e-05/0.731, allocations: 76.44 kB / 0.7487 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.731, allocations: 3.938 kB / 0.7487 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002006/0.7312, allocations: 16.53 kB / 0.7487 GB, free: 4.109 MB / 0.6075 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.000101/0.7313, allocations: 97.72 kB / 0.7488 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.7314, allocations: 55.05 kB / 0.7488 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7314, allocations: 0 / 0.7488 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.7315, allocations: 22.7 kB / 0.7488 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.7317, allocations: 15.28 kB / 0.7489 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.7322, allocations: 258.6 kB / 0.7491 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.7322, allocations: 74.36 kB / 0.7492 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.996e-05/0.7323, allocations: 10.86 kB / 0.7492 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.7323, allocations: 13.38 kB / 0.7492 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.7323, allocations: 4 kB / 0.7492 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of Templates: time 0.003304/0.7356, allocations: 0.6218 MB / 0.7498 GB, free: 3.648 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.921408165246248] Failed to read output from testmodel.py, exit status != 0: 0.7443574517965317 0.758386192 0.027805693000000003 Calling exit ...