Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.001605/0.001605, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001484/0.001484, allocations: 222.2 kB / 23 MB, free: 4.91 MB / 14.72 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9092/0.9092, allocations: 145 MB / 458.2 MB, free: 15.27 MB / 366.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.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.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.47 kB / 0.6343 GB, free: 6.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1632, allocations: 87.89 MB / 0.7202 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001771/0.165, allocations: 0.5845 MB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1669, allocations: 1.28 MB / 0.722 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.1669, allocations: 0 / 0.722 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.1669, allocations: 0 / 0.722 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.1669, allocations: 0 / 0.722 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1673, allocations: 75.69 kB / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.164e-05/0.1673, allocations: 0 / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.1674, allocations: 7.984 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.1674, allocations: 4 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.1674, allocations: 0 / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-06/0.1674, allocations: 0 / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.1677, allocations: 107.9 kB / 0.7222 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.1677, allocations: 3.984 kB / 0.7222 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.1677, allocations: 3.938 kB / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1679, allocations: 63.86 kB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1679, allocations: 3.938 kB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1679, allocations: 0 / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.1679, allocations: 0 / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003335/0.1683, allocations: 254.3 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1683, allocations: 12.03 kB / 0.7225 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.1683, allocations: 0.9375 kB / 0.7225 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.1684, allocations: 106.5 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1684, allocations: 384 / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1684, allocations: 384 / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1685, allocations: 37.95 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1685, allocations: 0 / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1685, allocations: 3.984 kB / 0.7227 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1686, allocations: 0 / 0.7227 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.1686, allocations: 4 kB / 0.7227 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.1687, allocations: 101.3 kB / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.1687, allocations: 22.61 kB / 0.7228 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.1688, allocations: 4.859 kB / 0.7228 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.1691, allocations: 40.03 kB / 0.7228 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1691, allocations: 38.5 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1691, allocations: 0 / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.1692, allocations: 37.75 kB / 0.7229 GB, free: 11.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1693, allocations: 55.41 kB / 0.7229 GB, free: 11.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.1693, allocations: 93.8 kB / 0.723 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1694, allocations: 25.7 kB / 0.7231 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.1694, allocations: 80.14 kB / 0.7231 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1694, allocations: 4 kB / 0.7231 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1694, allocations: 13.72 kB / 0.7232 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1696, allocations: 310.8 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.1696, allocations: 4 kB / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.1696, allocations: 3.938 kB / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.1697, allocations: 12.92 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1697, allocations: 0 / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.762e-05/0.1697, allocations: 37.69 kB / 0.7235 GB, free: 10.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1697, allocations: 4 kB / 0.7235 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1697, allocations: 4 kB / 0.7235 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1697, allocations: 3.938 kB / 0.7235 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.789e-05/0.1698, allocations: 0 / 0.7235 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1698, allocations: 0 / 0.7235 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.1698, allocations: 7.938 kB / 0.7235 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1698, allocations: 4 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 9.046e-05/0.1699, allocations: 116.9 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.1699, allocations: 3.984 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.17, allocations: 48.52 kB / 0.7237 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.17, allocations: 0 / 0.7237 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.17, allocations: 0 / 0.7237 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.17, allocations: 0 / 0.7237 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.457e-05/0.1701, allocations: 101.3 kB / 0.7238 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1701, allocations: 0 / 0.7238 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.1701, allocations: 4 kB / 0.7238 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1701, allocations: 4.031 kB / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1701, allocations: 0 / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1701, allocations: 3.938 kB / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1701, allocations: 0 / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.306e-05/0.1702, allocations: 57.08 kB / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.1702, allocations: 7.984 kB / 0.7239 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1702, allocations: 4 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.1703, allocations: 3.938 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.1703, allocations: 0 / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1703, allocations: 3.938 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.1703, allocations: 79.94 kB / 0.7239 GB, free: 10.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1703, allocations: 0 / 0.7239 GB, free: 10.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000214/0.1705, allocations: 8 kB / 0.724 GB, free: 10.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0001856/0.1707, allocations: 115.2 kB / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.1708, allocations: 4 kB / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1708, allocations: 0 / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-06/0.1708, allocations: 3.938 kB / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1709, allocations: 4 kB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.1712, allocations: 114.7 kB / 0.7242 GB, free: 9.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.44e-05/0.1712, allocations: 55.36 kB / 0.7242 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.1712, allocations: 7.438 kB / 0.7242 GB, free: 9.816 MB / 0.545 GB Notification: Performance of SimCode: time 4.9e-07/0.1712, allocations: 0 / 0.7242 GB, free: 9.816 MB / 0.545 GB Notification: Performance of Templates: time 0.002009/0.1732, allocations: 0.5191 MB / 0.7248 GB, free: 9.297 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.833856983110309] Failed to read output from testmodel.py, exit status != 0: 0.182169193867594 0.196525903 0.025598784000000003 Calling exit ...