Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009789/0.0009789, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001023/0.001023, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9744/0.9744, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6131/0.6131, allocations: 115 MB / 375.7 MB, free: 7.66 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.7656 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.533e-05, allocations: 5.938 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002066/0.002082, allocations: 1.315 MB / 482.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1259/0.128, allocations: 142.8 MB / 0.6109 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.128, allocations: 0 / 0.6109 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.1281, allocations: 3.938 kB / 0.6109 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.1281, allocations: 7.922 kB / 0.611 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1285, allocations: 103.4 kB / 0.6111 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.1286, allocations: 31.86 kB / 0.6111 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.1286, allocations: 4 kB / 0.6111 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.1287, allocations: 23.97 kB / 0.6111 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.1288, allocations: 11.98 kB / 0.6111 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1288, allocations: 0 / 0.6111 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.129, allocations: 83.69 kB / 0.6112 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.129, allocations: 7.984 kB / 0.6112 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.129, allocations: 8 kB / 0.6112 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.1292, allocations: 79.73 kB / 0.6113 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1292, allocations: 0 / 0.6113 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1292, allocations: 3.938 kB / 0.6113 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1292, allocations: 0 / 0.6113 GB, free: 7.234 MB / 0.5261 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.0003566/0.1295, allocations: 384.5 kB / 0.6117 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1296, allocations: 8.031 kB / 0.6117 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1298, allocations: 24.8 kB / 0.6117 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.83e-05/0.1298, allocations: 108.6 kB / 0.6118 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1298, allocations: 4.375 kB / 0.6118 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.1299, allocations: 8.375 kB / 0.6118 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.13, allocations: 126.7 kB / 0.6119 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.13, allocations: 0 / 0.6119 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.13, allocations: 4 kB / 0.6119 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.13, allocations: 0 / 0.6119 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.1301, allocations: 27.91 kB / 0.612 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.1302, allocations: 116.6 kB / 0.6121 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.1303, allocations: 55.11 kB / 0.6121 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.1303, allocations: 19.67 kB / 0.6121 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.1303, allocations: 4 kB / 0.6121 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1303, allocations: 41.33 kB / 0.6122 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1303, allocations: 0 / 0.6122 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0005814/0.1309, allocations: 297.5 kB / 0.6125 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1309, allocations: 55.41 kB / 0.6125 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.658e-05/0.131, allocations: 157.9 kB / 0.6127 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.131, allocations: 25.7 kB / 0.6127 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.131, allocations: 130.9 kB / 0.6128 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1311, allocations: 43.8 kB / 0.6129 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1311, allocations: 35.36 kB / 0.6129 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1312, allocations: 496.1 kB / 0.6134 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.1312, allocations: 11.98 kB / 0.6134 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.1313, allocations: 39.36 kB / 0.6134 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.1313, allocations: 55.3 kB / 0.6135 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1313, allocations: 128 / 0.6135 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.69e-05/0.1314, allocations: 98.09 kB / 0.6136 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1315, allocations: 10.81 kB / 0.6136 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1315, allocations: 160 / 0.6136 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1315, allocations: 0 / 0.6136 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.1316, allocations: 23.98 kB / 0.6136 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1316, allocations: 3.984 kB / 0.6136 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.1316, allocations: 4 kB / 0.6136 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1316, allocations: 8 kB / 0.6136 GB, free: 4.594 MB / 0.5261 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.109e-05/0.1317, allocations: 164.5 kB / 0.6138 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.1317, allocations: 15.88 kB / 0.6138 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.1317, allocations: 15.97 kB / 0.6138 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1317, allocations: 0 / 0.6138 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1317, allocations: 4 kB / 0.6138 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1317, allocations: 3.984 kB / 0.6138 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.631e-05/0.1318, allocations: 120.6 kB / 0.6139 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1318, allocations: 0 / 0.6139 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-05/0.1319, allocations: 23.92 kB / 0.614 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1319, allocations: 0 / 0.614 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1319, allocations: 8 kB / 0.614 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1319, allocations: 0 / 0.614 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1319, allocations: 4 kB / 0.614 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1321, allocations: 132 kB / 0.6141 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1321, allocations: 15.92 kB / 0.6141 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1321, allocations: 0 / 0.6141 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.1321, allocations: 4 kB / 0.6141 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1322, allocations: 11.98 kB / 0.6141 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1322, allocations: 3.938 kB / 0.6141 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.1322, allocations: 123.2 kB / 0.6142 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1322, allocations: 0 / 0.6142 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001304/0.1323, allocations: 16 kB / 0.6143 GB, free: 3.875 MB / 0.5261 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 8.287e-05/0.1324, allocations: 103.3 kB / 0.6144 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1325, allocations: 55.61 kB / 0.6144 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1325, allocations: 0 / 0.6144 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.1325, allocations: 31.61 kB / 0.6144 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.1327, allocations: 19.98 kB / 0.6145 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.1333, allocations: 285.7 kB / 0.6147 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.1334, allocations: 55.36 kB / 0.6148 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1334, allocations: 12.72 kB / 0.6148 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1335, allocations: 12.5 kB / 0.6148 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.1335, allocations: 4 kB / 0.6148 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of Templates: time 0.002503/0.136, allocations: 0.8378 MB / 0.6156 GB, free: 2.441 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.710276511963457]