Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 188 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.9845/0.9845, allocations: 145 MB / 451.3 MB, free: 5.469 MB / 350.1 MB " [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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 68.08 kB / 0.6253 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1885, allocations: 86.7 MB / 0.71 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002896/0.1914, allocations: 1.443 MB / 0.7114 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1929, allocations: 0.7878 MB / 0.7122 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.1929, allocations: 4 kB / 0.7122 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.246e-05/0.193, allocations: 3.938 kB / 0.7122 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.1931, allocations: 3.938 kB / 0.7122 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.1938, allocations: 186.8 kB / 0.7124 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1939, allocations: 43.91 kB / 0.7124 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.194, allocations: 4 kB / 0.7124 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.194, allocations: 23.97 kB / 0.7124 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.1941, allocations: 15.92 kB / 0.7125 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1941, allocations: 4 kB / 0.7125 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.1946, allocations: 227.6 kB / 0.7127 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.1946, allocations: 23.91 kB / 0.7127 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.1947, allocations: 11.94 kB / 0.7127 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.195, allocations: 191.5 kB / 0.7129 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.195, allocations: 11.98 kB / 0.7129 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.195, allocations: 0 / 0.7129 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.195, allocations: 0 / 0.7129 GB, free: 5.809 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005224/0.1955, allocations: 353.4 kB / 0.7133 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1956, allocations: 8.031 kB / 0.7133 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1956, allocations: 8.891 kB / 0.7133 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1957, allocations: 110.5 kB / 0.7134 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1957, allocations: 8.312 kB / 0.7134 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1958, allocations: 4.375 kB / 0.7134 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.196, allocations: 81.91 kB / 0.7135 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.196, allocations: 0 / 0.7135 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.196, allocations: 0 / 0.7135 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.196, allocations: 0 / 0.7135 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1961, allocations: 47.97 kB / 0.7135 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.1965, allocations: 255.9 kB / 0.7138 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1967, allocations: 58.48 kB / 0.7138 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.1968, allocations: 48.91 kB / 0.7139 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1968, allocations: 0 / 0.7139 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1968, allocations: 30.56 kB / 0.7139 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1968, allocations: 0 / 0.7139 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004254/0.1973, allocations: 179.3 kB / 0.7141 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.1973, allocations: 85.09 kB / 0.7141 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1974, allocations: 133.6 kB / 0.7143 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1975, allocations: 29.7 kB / 0.7143 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.1975, allocations: 88.12 kB / 0.7144 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1975, allocations: 7.953 kB / 0.7144 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.1976, allocations: 21.66 kB / 0.7144 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1977, allocations: 318.9 kB / 0.7147 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1978, allocations: 59.97 kB / 0.7148 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.198, allocations: 55.97 kB / 0.7148 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1982, allocations: 197.8 kB / 0.715 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1982, allocations: 0 / 0.715 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003269/0.1985, allocations: 221 kB / 0.7152 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.1986, allocations: 63.41 kB / 0.7153 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1986, allocations: 0 / 0.7153 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1986, allocations: 4 kB / 0.7153 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.1987, allocations: 7.984 kB / 0.7153 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1987, allocations: 3.938 kB / 0.7153 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.1987, allocations: 7.938 kB / 0.7153 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1988, allocations: 4 kB / 0.7153 GB, free: 3.105 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001293/0.1989, allocations: 155.5 kB / 0.7155 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.1989, allocations: 7.953 kB / 0.7155 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.1989, allocations: 4 kB / 0.7155 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1989, allocations: 240 / 0.7155 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1989, allocations: 4 kB / 0.7155 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.199, allocations: 3.984 kB / 0.7155 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.1991, allocations: 152.6 kB / 0.7156 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1991, allocations: 0 / 0.7156 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.1992, allocations: 7.984 kB / 0.7156 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1992, allocations: 3.938 kB / 0.7156 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1992, allocations: 0 / 0.7156 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1992, allocations: 0 / 0.7156 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1992, allocations: 0 / 0.7156 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.1995, allocations: 253.1 kB / 0.7159 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.1995, allocations: 11.83 kB / 0.7159 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1995, allocations: 4 kB / 0.7159 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1996, allocations: 7.984 kB / 0.7159 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.1997, allocations: 4 kB / 0.7159 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1998, allocations: 4 kB / 0.7159 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.668e-05/0.1998, allocations: 103.6 kB / 0.716 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1998, allocations: 32 / 0.716 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003306/0.2002, allocations: 63.88 kB / 0.7161 GB, free: 2.242 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0003074/0.2005, allocations: 143.2 kB / 0.7162 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.2008, allocations: 226.7 kB / 0.7164 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2008, allocations: 0 / 0.7164 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.201, allocations: 99.38 kB / 0.7165 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2012, allocations: 16.25 kB / 0.7165 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.2016, allocations: 185.4 kB / 0.7167 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.2019, allocations: 0.6846 MB / 0.7174 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.2019, allocations: 0 / 0.7174 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.202, allocations: 7.438 kB / 0.7174 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.202, allocations: 0 / 0.7174 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of Templates: time 0.005236/0.2072, allocations: 1.802 MB / 0.7191 GB, free: 15.04 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.89349371753633] Failed to read output from testmodel.py, exit status != 0: 0.21506367903202772 0.23139816699999996 0.033087948 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2ef21617b0>