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.0008095/0.0008095, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001138/0.001138, allocations: 181 kB / 23.36 MB, free: 1.129 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.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7712/0.7712, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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 179] 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.673e-06/1.673e-06, allocations: 0 / 479.9 MB, free: 7.012 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.365e-05, allocations: 5.172 kB / 480 MB, free: 7.008 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.005127/0.00515, allocations: 1.371 MB / 481.3 MB, free: 5.656 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1294/0.1345, allocations: 143.3 MB / 0.61 GB, free: 6.16 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.1346, allocations: 0 / 0.61 GB, free: 6.16 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.1346, allocations: 3.984 kB / 0.61 GB, free: 6.156 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.1347, allocations: 23.8 kB / 0.6101 GB, free: 6.133 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.1356, allocations: 342.3 kB / 0.6104 GB, free: 5.797 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1357, allocations: 75.69 kB / 0.6105 GB, free: 5.723 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.1357, allocations: 0 / 0.6105 GB, free: 5.723 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.1358, allocations: 35.95 kB / 0.6105 GB, free: 5.688 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.1358, allocations: 35.89 kB / 0.6105 GB, free: 5.652 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1358, allocations: 4 kB / 0.6105 GB, free: 5.648 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.1364, allocations: 370.6 kB / 0.6109 GB, free: 5.285 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.1365, allocations: 23.91 kB / 0.6109 GB, free: 5.262 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1365, allocations: 15.98 kB / 0.6109 GB, free: 5.246 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1368, allocations: 171.4 kB / 0.6111 GB, free: 5.078 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1368, allocations: 0 / 0.6111 GB, free: 5.078 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1368, allocations: 0 / 0.6111 GB, free: 5.078 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1368, allocations: 0 / 0.6111 GB, free: 5.078 MB / 0.573 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.0002841/0.137, allocations: 296.6 kB / 0.6114 GB, free: 4.766 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1371, allocations: 11.97 kB / 0.6114 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.1373, allocations: 56.7 kB / 0.6114 GB, free: 4.699 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.703e-05/0.1374, allocations: 117.7 kB / 0.6115 GB, free: 4.559 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1374, allocations: 4.375 kB / 0.6116 GB, free: 4.555 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1374, allocations: 20.31 kB / 0.6116 GB, free: 4.535 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1376, allocations: 192.9 kB / 0.6118 GB, free: 4.309 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1376, allocations: 0 / 0.6118 GB, free: 4.309 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1376, allocations: 8 kB / 0.6118 GB, free: 4.301 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1376, allocations: 7.984 kB / 0.6118 GB, free: 4.293 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.1376, allocations: 27.97 kB / 0.6118 GB, free: 4.266 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.1377, allocations: 82.69 kB / 0.6119 GB, free: 4.168 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1378, allocations: 69.3 kB / 0.6119 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.1379, allocations: 20.86 kB / 0.612 GB, free: 4.066 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.138, allocations: 20.31 kB / 0.612 GB, free: 4.047 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.138, allocations: 42.5 kB / 0.612 GB, free: 3.996 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.138, allocations: 0 / 0.612 GB, free: 3.996 MB / 0.573 GB Notification: Performance of matching and sorting (n=19): time 0.000883/0.1389, allocations: 495.4 kB / 0.6125 GB, free: 3.48 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.1389, allocations: 59.41 kB / 0.6126 GB, free: 3.41 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.209e-05/0.1389, allocations: 98.72 kB / 0.6126 GB, free: 3.301 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.139, allocations: 29.7 kB / 0.6127 GB, free: 3.266 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.139, allocations: 88.45 kB / 0.6128 GB, free: 3.176 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.139, allocations: 75.34 kB / 0.6128 GB, free: 3.102 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1391, allocations: 41.69 kB / 0.6129 GB, free: 3.055 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.1391, allocations: 318.8 kB / 0.6132 GB, free: 2.734 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.1391, allocations: 15.98 kB / 0.6132 GB, free: 2.719 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.1392, allocations: 51.34 kB / 0.6132 GB, free: 2.656 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.035e-05/0.1393, allocations: 86.25 kB / 0.6133 GB, free: 2.559 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1393, allocations: 4 kB / 0.6133 GB, free: 2.555 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001009/0.1394, allocations: 105.5 kB / 0.6134 GB, free: 2.445 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1394, allocations: 4 kB / 0.6134 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1394, allocations: 4 kB / 0.6134 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1394, allocations: 0 / 0.6134 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.1395, allocations: 43.92 kB / 0.6135 GB, free: 2.395 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1395, allocations: 3.984 kB / 0.6135 GB, free: 2.391 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.1395, allocations: 4 kB / 0.6135 GB, free: 2.387 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1395, allocations: 8 kB / 0.6135 GB, free: 2.379 MB / 0.573 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 0.0001941/0.1397, allocations: 120.6 kB / 0.6136 GB, free: 2.25 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.1397, allocations: 19.94 kB / 0.6136 GB, free: 2.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.1397, allocations: 20.58 kB / 0.6136 GB, free: 2.215 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1397, allocations: 4 kB / 0.6136 GB, free: 2.211 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1397, allocations: 4 kB / 0.6137 GB, free: 2.207 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1398, allocations: 0 / 0.6137 GB, free: 2.207 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.399e-05/0.1398, allocations: 85.88 kB / 0.6137 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1398, allocations: 0 / 0.6137 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1399, allocations: 35.98 kB / 0.6138 GB, free: 2.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1399, allocations: 3.938 kB / 0.6138 GB, free: 2.066 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1399, allocations: 8 kB / 0.6138 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1399, allocations: 4 kB / 0.6138 GB, free: 2.055 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1399, allocations: 0 / 0.6138 GB, free: 2.055 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1401, allocations: 157.8 kB / 0.6139 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1401, allocations: 11.98 kB / 0.6139 GB, free: 1.871 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1401, allocations: 7.938 kB / 0.614 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.1402, allocations: 11.98 kB / 0.614 GB, free: 1.852 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.1402, allocations: 11.94 kB / 0.614 GB, free: 1.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1402, allocations: 4 kB / 0.614 GB, free: 1.836 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.746e-06/0.1402, allocations: 12.84 kB / 0.614 GB, free: 1.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1402, allocations: 3.938 kB / 0.614 GB, free: 1.816 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001259/0.1403, allocations: 32.09 kB / 0.614 GB, free: 1.785 MB / 0.573 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.0001023/0.1404, allocations: 88.36 kB / 0.6141 GB, free: 1.688 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.912e-05/0.1405, allocations: 72.77 kB / 0.6142 GB, free: 1.613 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1405, allocations: 0 / 0.6142 GB, free: 1.613 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.1406, allocations: 44.77 kB / 0.6142 GB, free: 1.566 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1407, allocations: 39.91 kB / 0.6143 GB, free: 1.527 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.1413, allocations: 331.6 kB / 0.6146 GB, free: 1.172 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.436e-05/0.1413, allocations: 72.06 kB / 0.6146 GB, free: 1.082 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.25e-05/0.1414, allocations: 16.64 kB / 0.6147 GB, free: 1.066 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.1415, allocations: 91.34 kB / 0.6147 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of SimCode: time 4.11e-07/0.1415, allocations: 0 / 0.6147 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of Templates: time 0.002994/0.1445, allocations: 1.61 MB / 0.6163 GB, free: 15.41 MB / 0.5886 GB " [Timeout remaining time 660] 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: 3.777753435075283]