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.0007474/0.0007474, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0009538/0.0009538, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8131/0.8131, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5114/0.5114, allocations: 110.2 MB / 370.2 MB, free: 12.61 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 1.503e-06/1.503e-06, allocations: 0 / 0.5485 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.924e-05, allocations: 5.094 kB / 0.5485 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001553/0.001572, allocations: 1.289 MB / 0.5497 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1108/0.1123, allocations: 129.1 MB / 0.6758 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.1124, allocations: 0 / 0.6758 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.1124, allocations: 7.984 kB / 0.6758 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.1124, allocations: 11.92 kB / 0.6758 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.1128, allocations: 91.44 kB / 0.6759 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.1129, allocations: 31.86 kB / 0.6759 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1129, allocations: 7.984 kB / 0.6759 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.113, allocations: 23.91 kB / 0.676 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.113, allocations: 15.98 kB / 0.676 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1131, allocations: 0 / 0.676 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1133, allocations: 79.77 kB / 0.6761 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1133, allocations: 11.97 kB / 0.6761 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.1133, allocations: 19.81 kB / 0.6761 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1134, allocations: 71.8 kB / 0.6762 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1134, allocations: 0 / 0.6762 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.085e-06/0.1135, allocations: 0 / 0.6762 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1135, allocations: 0 / 0.6762 GB, free: 6.094 MB / 0.6355 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.0003396/0.1138, allocations: 274.3 kB / 0.6764 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1138, allocations: 8.625 kB / 0.6764 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.114, allocations: 8.938 kB / 0.6764 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.114, allocations: 113.7 kB / 0.6765 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.114, allocations: 4.312 kB / 0.6765 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1141, allocations: 12.33 kB / 0.6766 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1142, allocations: 130.7 kB / 0.6767 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1142, allocations: 0 / 0.6767 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1142, allocations: 4 kB / 0.6767 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1142, allocations: 3.984 kB / 0.6767 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.1143, allocations: 15.92 kB / 0.6767 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.1144, allocations: 117.3 kB / 0.6768 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.1145, allocations: 42.56 kB / 0.6769 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.1145, allocations: 20.84 kB / 0.6769 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1145, allocations: 4 kB / 0.6769 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1145, allocations: 34.5 kB / 0.6769 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.1145, allocations: 0 / 0.6769 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0005592/0.1151, allocations: 305.2 kB / 0.6772 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1151, allocations: 51.41 kB / 0.6773 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.478e-05/0.1152, allocations: 89.86 kB / 0.6773 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1152, allocations: 29.7 kB / 0.6774 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.1152, allocations: 88.27 kB / 0.6774 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1152, allocations: 43.62 kB / 0.6775 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.1153, allocations: 29.66 kB / 0.6775 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.1153, allocations: 322.8 kB / 0.6778 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.1154, allocations: 15.98 kB / 0.6778 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.1154, allocations: 41.7 kB / 0.6779 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.1155, allocations: 57.66 kB / 0.6779 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1155, allocations: 4 kB / 0.6779 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.859e-05/0.1156, allocations: 94.23 kB / 0.678 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1156, allocations: 6.344 kB / 0.678 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1156, allocations: 0 / 0.678 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1156, allocations: 11.98 kB / 0.678 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.1157, allocations: 19.94 kB / 0.6781 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1157, allocations: 0 / 0.6781 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.1157, allocations: 8 kB / 0.6781 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.1157, allocations: 3.938 kB / 0.6781 GB, free: 3.895 MB / 0.6355 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 5.926e-05/0.1157, allocations: 113.8 kB / 0.6782 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1158, allocations: 15.88 kB / 0.6782 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.1158, allocations: 11.97 kB / 0.6782 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1158, allocations: 4 kB / 0.6782 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1158, allocations: 0 / 0.6782 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1158, allocations: 4 kB / 0.6782 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.788e-05/0.1159, allocations: 105.3 kB / 0.6783 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1159, allocations: 0 / 0.6783 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.1159, allocations: 35.86 kB / 0.6784 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1159, allocations: 0 / 0.6784 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.116, allocations: 0 / 0.6784 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.116, allocations: 0 / 0.6784 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.116, allocations: 0 / 0.6784 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1161, allocations: 133 kB / 0.6785 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.1161, allocations: 11.94 kB / 0.6785 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.1161, allocations: 0 / 0.6785 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.1162, allocations: 12.03 kB / 0.6785 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.1162, allocations: 15.92 kB / 0.6785 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1162, allocations: 0 / 0.6785 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.1162, allocations: 79.28 kB / 0.6786 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1162, allocations: 0 / 0.6786 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001266/0.1164, allocations: 16 kB / 0.6786 GB, free: 3.289 MB / 0.6355 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.758e-05/0.1164, allocations: 103.2 kB / 0.6787 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.1165, allocations: 59.91 kB / 0.6788 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1166, allocations: 8.094 kB / 0.6788 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.1166, allocations: 28.14 kB / 0.6788 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.1168, allocations: 8 kB / 0.6788 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.1172, allocations: 282.4 kB / 0.6791 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.18e-05/0.1172, allocations: 79.33 kB / 0.6792 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.1172, allocations: 12.5 kB / 0.6792 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.1172, allocations: 0 / 0.6792 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of Templates: time 0.001519/0.1187, allocations: 0.854 MB / 0.68 GB, free: 1.805 MB / 0.6355 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.739238556474447] Failed to read output from testmodel.py, exit status != 0: 0.12398653943091631 0.326804824 0.21204554 Calling exit ...