Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001472/0.001472, allocations: 92.22 kB / 20.46 MB, free: 4.102 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.00148/0.00148, allocations: 161 kB / 23.82 MB, free: 0.7383 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.9667/0.9667, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6325/0.6325, allocations: 110.2 MB / 371 MB, free: 12.54 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.031e-05/4.301e-05, allocations: 5.109 kB / 475.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002736/0.002779, allocations: 1.326 MB / 476.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1585/0.1612, allocations: 142.8 MB / 0.6048 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.1613, allocations: 0 / 0.6048 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.1613, allocations: 7.922 kB / 0.6048 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.518e-05/0.1614, allocations: 8 kB / 0.6048 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.1618, allocations: 99.38 kB / 0.6049 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.1619, allocations: 35.84 kB / 0.6049 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.1619, allocations: 3.984 kB / 0.6049 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.162, allocations: 19.98 kB / 0.605 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.162, allocations: 11.97 kB / 0.605 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1621, allocations: 0 / 0.605 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.1623, allocations: 79.7 kB / 0.605 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1623, allocations: 15.98 kB / 0.6051 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1623, allocations: 7.984 kB / 0.6051 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1625, allocations: 79.69 kB / 0.6051 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1625, allocations: 0 / 0.6051 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1625, allocations: 0 / 0.6051 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1625, allocations: 0 / 0.6051 GB, free: 14.45 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.0003827/0.1629, allocations: 380.5 kB / 0.6055 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1629, allocations: 8.625 kB / 0.6055 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.1631, allocations: 20.81 kB / 0.6055 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.191e-05/0.1632, allocations: 108.6 kB / 0.6056 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1632, allocations: 8.375 kB / 0.6056 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1632, allocations: 16.31 kB / 0.6057 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1634, allocations: 122.7 kB / 0.6058 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1634, allocations: 4 kB / 0.6058 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1634, allocations: 0 / 0.6058 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.1634, allocations: 0 / 0.6058 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/0.1635, allocations: 19.92 kB / 0.6058 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1636, allocations: 124.6 kB / 0.6059 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/0.1637, allocations: 51.03 kB / 0.606 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.1637, allocations: 19.69 kB / 0.606 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1637, allocations: 4 kB / 0.606 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1637, allocations: 41.31 kB / 0.606 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1637, allocations: 4 kB / 0.606 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006228/0.1644, allocations: 301.7 kB / 0.6063 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1644, allocations: 55.41 kB / 0.6064 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.1645, allocations: 149.9 kB / 0.6065 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.1645, allocations: 25.7 kB / 0.6065 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.1645, allocations: 134.9 kB / 0.6067 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.1645, allocations: 39.81 kB / 0.6067 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.1646, allocations: 35.36 kB / 0.6067 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1647, allocations: 496.1 kB / 0.6072 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.1647, allocations: 15.98 kB / 0.6072 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.1647, allocations: 35.36 kB / 0.6073 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.1648, allocations: 55.86 kB / 0.6073 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1648, allocations: 0 / 0.6073 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.523e-05/0.1649, allocations: 97.48 kB / 0.6074 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1649, allocations: 11.98 kB / 0.6074 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1649, allocations: 0 / 0.6074 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1649, allocations: 0 / 0.6074 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.165, allocations: 24 kB / 0.6074 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.165, allocations: 0 / 0.6074 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.1651, allocations: 4 kB / 0.6075 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1651, allocations: 8 kB / 0.6075 GB, free: 11.81 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 6.894e-05/0.1651, allocations: 168.5 kB / 0.6076 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.1651, allocations: 11.89 kB / 0.6076 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.1652, allocations: 15.91 kB / 0.6076 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1652, allocations: 4 kB / 0.6077 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1652, allocations: 0 / 0.6077 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1652, allocations: 0 / 0.6077 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.441e-05/0.1653, allocations: 128.6 kB / 0.6078 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1653, allocations: 0 / 0.6078 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.1653, allocations: 19.94 kB / 0.6078 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1653, allocations: 4 kB / 0.6078 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1653, allocations: 4 kB / 0.6078 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1653, allocations: 0 / 0.6078 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1654, allocations: 3.984 kB / 0.6078 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.1655, allocations: 125.1 kB / 0.6079 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.1655, allocations: 19.83 kB / 0.6079 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1656, allocations: 7.984 kB / 0.6079 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.1656, allocations: 0 / 0.6079 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.1656, allocations: 15.98 kB / 0.608 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1656, allocations: 0 / 0.608 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.1657, allocations: 123.2 kB / 0.6081 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1657, allocations: 0 / 0.6081 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001276/0.1658, allocations: 16 kB / 0.6081 GB, free: 11.09 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 9.169e-05/0.1659, allocations: 97.88 kB / 0.6082 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.166, allocations: 59.59 kB / 0.6082 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.166, allocations: 0 / 0.6082 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.166, allocations: 41.02 kB / 0.6083 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.1662, allocations: 15.98 kB / 0.6083 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.1668, allocations: 268.9 kB / 0.6086 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.1668, allocations: 63.91 kB / 0.6086 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.034e-05/0.1669, allocations: 16.66 kB / 0.6086 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.1669, allocations: 12.5 kB / 0.6086 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/0.1669, allocations: 0 / 0.6086 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.002655/0.1696, allocations: 0.8797 MB / 0.6095 GB, free: 9.648 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7250977642834187]