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.001046/0.001046, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 191 kB / 17.29 MB, free: 5.516 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.8565/0.8565, allocations: 143 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3617, allocations: 82.02 MB / 0.5957 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001611/0.3633, allocations: 0.5949 MB / 0.5963 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3645, allocations: 1.246 MB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.3645, allocations: 0 / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.3645, allocations: 3.938 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.3645, allocations: 1.094 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.3649, allocations: 63.8 kB / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.3649, allocations: 4.562 kB / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.365, allocations: 4 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.365, allocations: 1.281 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.365, allocations: 0 / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-06/0.365, allocations: 0 / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.3652, allocations: 105.3 kB / 0.5977 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.3653, allocations: 4 kB / 0.5977 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.3653, allocations: 0 / 0.5977 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3654, allocations: 51.94 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3654, allocations: 1.469 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3654, allocations: 3.938 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3654, allocations: 4 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB 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.0002608/0.3657, allocations: 321.3 kB / 0.598 GB, free: 13.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3658, allocations: 8.031 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.3658, allocations: 4.938 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.3659, allocations: 160.4 kB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3659, allocations: 2.906 kB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3659, allocations: 384 / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/0.366, allocations: 37.94 kB / 0.5982 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.366, allocations: 4 kB / 0.5982 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.366, allocations: 3.938 kB / 0.5982 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.366, allocations: 0 / 0.5982 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.3661, allocations: 5.281 kB / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.3662, allocations: 141.7 kB / 0.5984 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.3663, allocations: 20.11 kB / 0.5984 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.3663, allocations: 8.859 kB / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004536/0.3668, allocations: 0.5643 MB / 0.599 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.3668, allocations: 42.44 kB / 0.599 GB, free: 12.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3668, allocations: 1.469 kB / 0.599 GB, free: 12.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.3669, allocations: 33.69 kB / 0.599 GB, free: 12.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.367, allocations: 52.16 kB / 0.5991 GB, free: 12.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.801e-05/0.367, allocations: 93.86 kB / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.367, allocations: 27.2 kB / 0.5992 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.418e-05/0.367, allocations: 80.14 kB / 0.5993 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3671, allocations: 7.906 kB / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.3671, allocations: 11 kB / 0.5993 GB, free: 12.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.3671, allocations: 310.8 kB / 0.5996 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.3671, allocations: 4.812 kB / 0.5996 GB, free: 11.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.3672, allocations: 0 / 0.5996 GB, free: 11.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/0.3672, allocations: 22.25 kB / 0.5996 GB, free: 11.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3672, allocations: 0 / 0.5996 GB, free: 11.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.268e-05/0.3672, allocations: 30.64 kB / 0.5996 GB, free: 11.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3673, allocations: 7.938 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3673, allocations: 0 / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3673, allocations: 9.094 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.3673, allocations: 0 / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3673, allocations: 0 / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.3674, allocations: 1.5 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3674, allocations: 0 / 0.5997 GB, free: 11.78 MB / 446.1 MB 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 4.775e-05/0.3674, allocations: 110.5 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.3674, allocations: 7.922 kB / 0.5998 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.3675, allocations: 42.33 kB / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3675, allocations: 0 / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3675, allocations: 4.812 kB / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3676, allocations: 0 / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.031e-05/0.3676, allocations: 148.1 kB / 0.6 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3676, allocations: 0 / 0.6 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.3676, allocations: 0 / 0.6 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3676, allocations: 7.938 kB / 0.6 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3676, allocations: 4 kB / 0.6 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3677, allocations: 0 / 0.6 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3677, allocations: 0 / 0.6 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.203e-05/0.3677, allocations: 71.66 kB / 0.6 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.3677, allocations: 77.11 kB / 0.6001 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.3678, allocations: 3.938 kB / 0.6001 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.3678, allocations: 1.344 kB / 0.6001 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.3678, allocations: 3.984 kB / 0.6001 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3678, allocations: 0 / 0.6001 GB, free: 11.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.832e-05/0.3678, allocations: 76.78 kB / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 0 / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.368, allocations: 8 kB / 0.6002 GB, free: 11.13 MB / 446.1 MB 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.0001519/0.3682, allocations: 116.6 kB / 0.6003 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.718e-05/0.3683, allocations: 4 kB / 0.6003 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3683, allocations: 1.344 kB / 0.6003 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.3683, allocations: 7.938 kB / 0.6003 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.3684, allocations: 3.797 kB / 0.6003 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001607/0.3686, allocations: 78.28 kB / 0.6004 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.3687, allocations: 0.669 MB / 0.6011 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.3687, allocations: 2.219 kB / 0.6011 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.038e-05/0.3688, allocations: 15.38 kB / 0.6011 GB, free: 10.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3688, allocations: 0 / 0.6011 GB, free: 10.19 MB / 446.1 MB Notification: Performance of Templates: time 0.002243/0.371, allocations: 305 kB / 0.6014 GB, free: 9.918 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)