Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.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.001517/0.001517, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001977/0.001977, allocations: 174 kB / 22.46 MB, free: 5.355 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.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.23/1.23, allocations: 154.6 MB / 413.8 MB, free: 5.23 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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.069e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002452/0.002483, allocations: 1.325 MB / 0.6198 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6605/0.663, allocations: 130.1 MB / 0.7469 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.6631, allocations: 0 / 0.7469 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.236e-05/0.6631, allocations: 9.953 kB / 0.7469 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.6632, allocations: 12 kB / 0.7469 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.6644, allocations: 333.5 kB / 0.7472 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.6645, allocations: 68.81 kB / 0.7473 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.6645, allocations: 4 kB / 0.7473 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.6646, allocations: 41.56 kB / 0.7473 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.6647, allocations: 31.7 kB / 0.7474 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.6647, allocations: 2.781 kB / 0.7474 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.6656, allocations: 379.5 kB / 0.7477 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.6656, allocations: 13.75 kB / 0.7477 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.6657, allocations: 28.45 kB / 0.7478 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.6661, allocations: 165.5 kB / 0.7479 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6661, allocations: 2.016 kB / 0.7479 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6661, allocations: 4 kB / 0.7479 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6661, allocations: 5.281 kB / 0.7479 GB, free: 5.926 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004852/0.6666, allocations: 308.1 kB / 0.7482 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6666, allocations: 8.719 kB / 0.7482 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.667, allocations: 35.58 kB / 0.7483 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.6671, allocations: 114.9 kB / 0.7484 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.6671, allocations: 2.969 kB / 0.7484 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.6672, allocations: 14.14 kB / 0.7484 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.6674, allocations: 220.5 kB / 0.7486 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6674, allocations: 1.594 kB / 0.7486 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.6674, allocations: 5.266 kB / 0.7486 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6674, allocations: 1.25 kB / 0.7486 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.6675, allocations: 50.7 kB / 0.7487 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.6677, allocations: 122.5 kB / 0.7488 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.6679, allocations: 87.73 kB / 0.7489 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.961e-05/0.668, allocations: 33.39 kB / 0.7489 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.6682, allocations: 24.17 kB / 0.7489 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6682, allocations: 36.72 kB / 0.7489 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.6682, allocations: 0 / 0.7489 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001323/0.6696, allocations: 485.5 kB / 0.7494 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.6696, allocations: 52.88 kB / 0.7495 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/0.6696, allocations: 102.3 kB / 0.7496 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.6697, allocations: 30.73 kB / 0.7496 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.6697, allocations: 81.92 kB / 0.7497 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.6697, allocations: 71.77 kB / 0.7497 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.6698, allocations: 40.61 kB / 0.7498 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.6699, allocations: 325.4 kB / 0.7501 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.6699, allocations: 33.52 kB / 0.7501 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.67, allocations: 71.77 kB / 0.7502 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.6702, allocations: 118.8 kB / 0.7503 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.6702, allocations: 0 / 0.7503 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002208/0.6704, allocations: 160.6 kB / 0.7504 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6704, allocations: 6.531 kB / 0.7505 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6704, allocations: 0 / 0.7505 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6705, allocations: 2.219 kB / 0.7505 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.6706, allocations: 39.11 kB / 0.7505 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6706, allocations: 2.25 kB / 0.7505 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.6707, allocations: 9.031 kB / 0.7505 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.6707, allocations: 9.625 kB / 0.7505 GB, free: 4.039 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.606e-05/0.6708, allocations: 128.6 kB / 0.7506 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.6708, allocations: 8.203 kB / 0.7506 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.6709, allocations: 24.38 kB / 0.7507 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6709, allocations: 1.5 kB / 0.7507 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6709, allocations: 1.094 kB / 0.7507 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6709, allocations: 3.938 kB / 0.7507 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.671, allocations: 137.1 kB / 0.7508 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.671, allocations: 0 / 0.7508 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.6712, allocations: 35.86 kB / 0.7508 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6712, allocations: 1.094 kB / 0.7508 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.6712, allocations: 5.125 kB / 0.7508 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6712, allocations: 1.062 kB / 0.7508 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6712, allocations: 1.094 kB / 0.7508 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.6715, allocations: 216.7 kB / 0.7511 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.6716, allocations: 15.72 kB / 0.7511 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.6716, allocations: 5.094 kB / 0.7511 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.6717, allocations: 9.906 kB / 0.7511 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.6717, allocations: 9.422 kB / 0.7511 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.6718, allocations: 6.719 kB / 0.7511 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.6718, allocations: 80.25 kB / 0.7512 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6718, allocations: 1.125 kB / 0.7512 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002283/0.672, allocations: 25.69 kB / 0.7512 GB, free: 3.527 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001408/0.6722, allocations: 113.5 kB / 0.7513 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.6724, allocations: 99.06 kB / 0.7514 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6724, allocations: 0 / 0.7514 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.6724, allocations: 47.22 kB / 0.7514 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.6727, allocations: 17.06 kB / 0.7515 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.6734, allocations: 407.8 kB / 0.7519 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.6735, allocations: 83.28 kB / 0.7519 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.794e-05/0.6736, allocations: 26.47 kB / 0.752 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.6736, allocations: 16.62 kB / 0.752 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.6736, allocations: 0 / 0.752 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.004413/0.6781, allocations: 1.074 MB / 0.753 GB, free: 2.871 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.721452604979277] Failed to read output from testmodel.py, exit status != 0: 0.6868440322577953 0.700475773 0.031620789 Calling exit ...