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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001012, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 184 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9619/0.9619, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 12 kB / 0.5171 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 83.41 MB / 0.5985 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008858/0.1554, allocations: 311 kB / 0.5988 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1573, allocations: 1.244 MB / 0.6 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.044e-05/0.1573, allocations: 4 kB / 0.6 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.1573, allocations: 0 / 0.6 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.1573, allocations: 0 / 0.6 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1576, allocations: 47.83 kB / 0.6001 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.1577, allocations: 0 / 0.6001 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1577, allocations: 3.984 kB / 0.6001 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.1578, allocations: 8 kB / 0.6001 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.1578, allocations: 0 / 0.6001 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.894e-06/0.1578, allocations: 0 / 0.6001 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.1581, allocations: 103.9 kB / 0.6002 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1581, allocations: 0 / 0.6002 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.1581, allocations: 25.7 kB / 0.6002 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.1582, allocations: 35.95 kB / 0.6003 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1582, allocations: 0 / 0.6003 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1583, allocations: 0 / 0.6003 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.1583, allocations: 0 / 0.6003 GB, free: 5.84 MB / 0.4981 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.0003531/0.1586, allocations: 331.5 kB / 0.6006 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1587, allocations: 8.031 kB / 0.6006 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1587, allocations: 0.9375 kB / 0.6006 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1588, allocations: 164.4 kB / 0.6007 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1589, allocations: 4.375 kB / 0.6007 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1589, allocations: 4.375 kB / 0.6007 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.159, allocations: 33.95 kB / 0.6008 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.159, allocations: 0 / 0.6008 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.159, allocations: 0 / 0.6008 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.159, allocations: 4 kB / 0.6008 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.159, allocations: 4 kB / 0.6008 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.1592, allocations: 141.7 kB / 0.6009 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.1592, allocations: 26.59 kB / 0.6009 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.1592, allocations: 4.859 kB / 0.6009 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/0.1598, allocations: 0.5661 MB / 0.6015 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1598, allocations: 46.42 kB / 0.6015 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1599, allocations: 0 / 0.6015 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.16, allocations: 33.7 kB / 0.6016 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.16, allocations: 55.41 kB / 0.6016 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.786e-05/0.1601, allocations: 89.86 kB / 0.6017 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1601, allocations: 25.7 kB / 0.6017 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.1601, allocations: 84.27 kB / 0.6018 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.1602, allocations: 3.906 kB / 0.6018 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.1602, allocations: 9.719 kB / 0.6018 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1603, allocations: 310.8 kB / 0.6021 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.1603, allocations: 0 / 0.6021 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-06/0.1603, allocations: 7.938 kB / 0.6021 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.1604, allocations: 16.84 kB / 0.6022 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1604, allocations: 64 / 0.6022 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.93e-05/0.1604, allocations: 33.7 kB / 0.6022 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1605, allocations: 7.938 kB / 0.6022 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1605, allocations: 0 / 0.6022 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1605, allocations: 0 / 0.6022 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.405e-05/0.1605, allocations: 4 kB / 0.6022 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1605, allocations: 3.938 kB / 0.6022 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.1606, allocations: 0 / 0.6022 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1606, allocations: 3.984 kB / 0.6022 GB, free: 3.488 MB / 0.4981 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 8.352e-05/0.1607, allocations: 117.9 kB / 0.6023 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.1607, allocations: 3.938 kB / 0.6023 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.772e-05/0.1608, allocations: 40.77 kB / 0.6024 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1608, allocations: 0 / 0.6024 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.1608, allocations: 0 / 0.6024 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1608, allocations: 4 kB / 0.6024 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.251e-05/0.1609, allocations: 145.7 kB / 0.6025 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1609, allocations: 0 / 0.6025 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.1609, allocations: 0 / 0.6025 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1609, allocations: 7.969 kB / 0.6025 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1609, allocations: 4 kB / 0.6025 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1609, allocations: 0 / 0.6025 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1609, allocations: 0 / 0.6025 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.572e-05/0.161, allocations: 61.06 kB / 0.6026 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.1611, allocations: 81.39 kB / 0.6026 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1611, allocations: 3.938 kB / 0.6027 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-06/0.1611, allocations: 4.031 kB / 0.6027 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1611, allocations: 0 / 0.6027 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1611, allocations: 0 / 0.6027 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.1611, allocations: 79.22 kB / 0.6027 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1611, allocations: 0 / 0.6027 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001937/0.1613, allocations: 8 kB / 0.6027 GB, free: 2.84 MB / 0.4981 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.0001696/0.1615, allocations: 103.2 kB / 0.6028 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.1616, allocations: 8 kB / 0.6028 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1616, allocations: 4.062 kB / 0.6028 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.1616, allocations: 7.938 kB / 0.6029 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.1617, allocations: 7.031 kB / 0.6029 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/0.1619, allocations: 108.4 kB / 0.603 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1622, allocations: 0.6692 MB / 0.6036 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.1622, allocations: 7.438 kB / 0.6036 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1622, allocations: 0 / 0.6036 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.001671/0.1639, allocations: 438.7 kB / 0.604 GB, free: 1.438 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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)