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.002305/0.002305, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00283/0.00283, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.751/1.751, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-545:108: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-545:116: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.3/1.3, allocations: 154.6 MB / 414.2 MB, free: 0.6328 MB / 378.7 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 2.595e-06/2.595e-06, allocations: 0.6562 kB / 0.5196 GB, free: 1.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.778e-05, allocations: 5.375 kB / 0.5196 GB, free: 1.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00274/0.002778, allocations: 1.343 MB / 0.5209 GB, free: 168 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5721/0.5749, allocations: 143.7 MB / 0.6612 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.5749, allocations: 1 kB / 0.6612 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.189e-05/0.575, allocations: 5.422 kB / 0.6612 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.5751, allocations: 14.88 kB / 0.6612 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.5762, allocations: 330.1 kB / 0.6615 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.5763, allocations: 69.48 kB / 0.6616 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.5764, allocations: 4.375 kB / 0.6616 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.5765, allocations: 43.3 kB / 0.6616 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.5766, allocations: 27.97 kB / 0.6617 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.5766, allocations: 2.875 kB / 0.6617 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008133/0.5774, allocations: 383.9 kB / 0.662 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.5775, allocations: 17.61 kB / 0.662 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.5775, allocations: 20.5 kB / 0.6621 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.5779, allocations: 174.1 kB / 0.6622 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5779, allocations: 0.6875 kB / 0.6622 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.175e-06/0.5779, allocations: 0 / 0.6622 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5779, allocations: 0.9062 kB / 0.6622 GB, free: 15.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004513/0.5784, allocations: 412.2 kB / 0.6626 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5784, allocations: 9.812 kB / 0.6626 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.5789, allocations: 66.33 kB / 0.6627 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.39e-05/0.5789, allocations: 113.5 kB / 0.6628 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.579, allocations: 3.188 kB / 0.6628 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.579, allocations: 14.47 kB / 0.6628 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.5792, allocations: 206.8 kB / 0.663 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5792, allocations: 0 / 0.663 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5792, allocations: 4.562 kB / 0.663 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5792, allocations: 4.062 kB / 0.663 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.792e-05/0.5793, allocations: 35.38 kB / 0.6631 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.5795, allocations: 147.6 kB / 0.6632 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.5797, allocations: 83.94 kB / 0.6633 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.5798, allocations: 27.3 kB / 0.6633 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.58, allocations: 25.86 kB / 0.6633 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.58, allocations: 41.64 kB / 0.6634 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.58, allocations: 0 / 0.6634 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.001305/0.5813, allocations: 467.6 kB / 0.6638 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.5813, allocations: 53.78 kB / 0.6639 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.5814, allocations: 155.8 kB / 0.664 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.5814, allocations: 30.36 kB / 0.664 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.5814, allocations: 131.8 kB / 0.6642 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.5815, allocations: 76.98 kB / 0.6642 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.5815, allocations: 47.91 kB / 0.6643 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.5816, allocations: 0.4938 MB / 0.6648 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.5817, allocations: 32.16 kB / 0.6648 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.5818, allocations: 81.05 kB / 0.6649 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.582, allocations: 120.3 kB / 0.665 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.582, allocations: 3.125 kB / 0.665 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002587/0.5822, allocations: 153.2 kB / 0.6651 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5822, allocations: 6.188 kB / 0.6652 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5822, allocations: 0.6562 kB / 0.6652 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5823, allocations: 2 kB / 0.6652 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.5824, allocations: 37.97 kB / 0.6652 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5825, allocations: 8.156 kB / 0.6652 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.5825, allocations: 5.656 kB / 0.6652 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.5825, allocations: 7.703 kB / 0.6652 GB, free: 13.27 MB / 0.5573 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 8.901e-05/0.5826, allocations: 169.4 kB / 0.6654 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.5826, allocations: 16.45 kB / 0.6654 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.5827, allocations: 21 kB / 0.6654 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5827, allocations: 2.25 kB / 0.6654 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5827, allocations: 0 / 0.6654 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5827, allocations: 0.7188 kB / 0.6654 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.5828, allocations: 142.4 kB / 0.6655 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5828, allocations: 4 kB / 0.6656 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.583, allocations: 39.19 kB / 0.6656 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.583, allocations: 1.5 kB / 0.6656 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.5831, allocations: 5.5 kB / 0.6656 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5831, allocations: 1.031 kB / 0.6656 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.5831, allocations: 0.7812 kB / 0.6656 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.5834, allocations: 210 kB / 0.6658 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.5834, allocations: 16.09 kB / 0.6658 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.5835, allocations: 4.016 kB / 0.6658 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5836, allocations: 6.719 kB / 0.6658 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.5836, allocations: 14.89 kB / 0.6658 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.5836, allocations: 12.19 kB / 0.6658 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.5837, allocations: 123 kB / 0.666 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.5837, allocations: 1.844 kB / 0.666 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002253/0.5839, allocations: 30.41 kB / 0.666 GB, free: 12.74 MB / 0.5573 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.0001432/0.584, allocations: 102.7 kB / 0.6661 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.5843, allocations: 109.2 kB / 0.6662 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5843, allocations: 4.688 kB / 0.6662 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.5843, allocations: 56.3 kB / 0.6663 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.5846, allocations: 38.88 kB / 0.6663 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.5853, allocations: 411.4 kB / 0.6667 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.586e-05/0.5854, allocations: 89.19 kB / 0.6668 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.5855, allocations: 24 kB / 0.6668 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.5855, allocations: 18.64 kB / 0.6668 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.5855, allocations: 0 / 0.6668 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.005051/0.5906, allocations: 1.422 MB / 0.6682 GB, free: 12.1 MB / 0.5573 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.9354673670604825]