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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7256/0.7256, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001088, allocations: 187.3 kB / 161.7 MB, free: 2.742 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 394.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 95.25 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 15.98 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4258, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5619, allocations: 101.7 MB / 0.7144 GB, free: 284 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.5623, allocations: 83.94 kB / 0.7145 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003635/0.5659, allocations: 1.235 MB / 0.7157 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5659, allocations: 4 kB / 0.7157 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.5659, allocations: 0 / 0.7157 GB, free: 14.96 MB / 0.4948 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.0003115/0.5663, allocations: 339.5 kB / 0.7161 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5663, allocations: 11.97 kB / 0.7161 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.5664, allocations: 4.875 kB / 0.7161 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.5665, allocations: 160.4 kB / 0.7162 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5665, allocations: 384 / 0.7162 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.5665, allocations: 4.375 kB / 0.7162 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5667, allocations: 34.02 kB / 0.7163 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5667, allocations: 192 / 0.7163 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5667, allocations: 3.938 kB / 0.7163 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5667, allocations: 0 / 0.7163 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.5668, allocations: 4 kB / 0.7163 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.567, allocations: 153.7 kB / 0.7164 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.5671, allocations: 22.55 kB / 0.7164 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.5671, allocations: 4.859 kB / 0.7164 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/0.5679, allocations: 0.5662 MB / 0.717 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.568, allocations: 34.55 kB / 0.717 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.562e-06/0.568, allocations: 0 / 0.717 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001754/0.5682, allocations: 33.64 kB / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.5682, allocations: 59.34 kB / 0.7171 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.5683, allocations: 89.86 kB / 0.7172 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.5683, allocations: 29.83 kB / 0.7172 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.5684, allocations: 80.14 kB / 0.7173 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.5684, allocations: 3.906 kB / 0.7173 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.5684, allocations: 0 / 0.7173 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.5686, allocations: 314.8 kB / 0.7176 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.5687, allocations: 4 kB / 0.7176 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-06/0.5687, allocations: 0 / 0.7176 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.5687, allocations: 12.84 kB / 0.7176 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5687, allocations: 4.062 kB / 0.7176 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.575e-05/0.5688, allocations: 29.7 kB / 0.7177 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5688, allocations: 4 kB / 0.7177 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5689, allocations: 3.938 kB / 0.7177 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5689, allocations: 3.938 kB / 0.7177 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.5689, allocations: 4 kB / 0.7177 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.569, allocations: 0 / 0.7177 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.569, allocations: 0 / 0.7177 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.569, allocations: 0 / 0.7177 GB, free: 12.62 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.5691, allocations: 121.9 kB / 0.7178 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.5691, allocations: 3.938 kB / 0.7178 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.5692, allocations: 36.77 kB / 0.7178 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5693, allocations: 0 / 0.7178 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5693, allocations: 0 / 0.7178 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5693, allocations: 3.938 kB / 0.7178 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.5694, allocations: 153.7 kB / 0.718 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5694, allocations: 0 / 0.718 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.5694, allocations: 4.031 kB / 0.718 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5695, allocations: 0 / 0.718 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.5695, allocations: 11.88 kB / 0.718 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5695, allocations: 0 / 0.718 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5695, allocations: 0 / 0.718 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.844e-05/0.5696, allocations: 53.12 kB / 0.7181 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.5697, allocations: 81.11 kB / 0.7181 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.5697, allocations: 3.969 kB / 0.7181 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.5697, allocations: 4 kB / 0.7181 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.5697, allocations: 4 kB / 0.7181 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5697, allocations: 0 / 0.7181 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.5698, allocations: 75.28 kB / 0.7182 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.5698, allocations: 0 / 0.7182 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002242/0.57, allocations: 15.94 kB / 0.7182 GB, free: 11.96 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000201/0.5702, allocations: 107 kB / 0.7183 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.5703, allocations: 11.94 kB / 0.7183 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5703, allocations: 0 / 0.7183 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.5703, allocations: 4 kB / 0.7183 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.5705, allocations: 0 / 0.7183 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.5707, allocations: 78.7 kB / 0.7184 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.571, allocations: 0.677 MB / 0.7191 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.5711, allocations: 4.125 kB / 0.7191 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.5711, allocations: 7.438 kB / 0.7191 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.5711, allocations: 0 / 0.7191 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.002135/0.5732, allocations: 280.7 kB / 0.7194 GB, free: 10.73 MB / 0.4948 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)