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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7385/0.7385, allocations: 127.4 MB / 134.9 MB, free: 3.473 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.001172/0.001172, allocations: 179.1 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0008417/0.0008417, allocations: 101.4 kB / 476.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.05e-05, allocations: 8.719 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 76.78 MB / 0.6216 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.2431, allocations: 102 MB / 0.7212 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.2435, allocations: 87.94 kB / 0.7213 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005093/0.2486, allocations: 1.219 MB / 0.7225 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2486, allocations: 0 / 0.7225 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2486, allocations: 0 / 0.7225 GB, free: 3.582 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.0002866/0.2489, allocations: 334.4 kB / 0.7228 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.249, allocations: 8.031 kB / 0.7228 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.249, allocations: 7.953 kB / 0.7228 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2491, allocations: 163.1 kB / 0.723 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2491, allocations: 3.938 kB / 0.723 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.2492, allocations: 4 kB / 0.723 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.318e-05/0.2492, allocations: 0 / 0.723 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.477e-05/0.2493, allocations: 25.7 kB / 0.723 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.2493, allocations: 0 / 0.723 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2493, allocations: 4 kB / 0.723 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2493, allocations: 4 kB / 0.723 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.2495, allocations: 126.2 kB / 0.7231 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.168e-05/0.2495, allocations: 18.52 kB / 0.7231 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.2496, allocations: 8.953 kB / 0.7232 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/0.2502, allocations: 0.5622 MB / 0.7237 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.2502, allocations: 42.55 kB / 0.7237 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.794e-06/0.2502, allocations: 0 / 0.7237 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001665/0.2504, allocations: 29.7 kB / 0.7238 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2504, allocations: 55.34 kB / 0.7238 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.807e-05/0.2505, allocations: 85 kB / 0.7239 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2505, allocations: 25.7 kB / 0.7239 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.2506, allocations: 80.14 kB / 0.724 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2506, allocations: 8 kB / 0.724 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2506, allocations: 4.031 kB / 0.724 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2508, allocations: 318.8 kB / 0.7243 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-06/0.2508, allocations: 0 / 0.7243 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.2508, allocations: 0 / 0.7243 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.2508, allocations: 7.953 kB / 0.7243 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2509, allocations: 0 / 0.7243 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.251, allocations: 29.7 kB / 0.7244 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.251, allocations: 8 kB / 0.7244 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.251, allocations: 4.094 kB / 0.7244 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.251, allocations: 3.984 kB / 0.7244 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.2511, allocations: 0 / 0.7244 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2511, allocations: 4 kB / 0.7244 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.2511, allocations: 0 / 0.7244 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2512, allocations: 0 / 0.7244 GB, free: 1.309 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 () * 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 8.011e-05/0.2512, allocations: 108.9 kB / 0.7245 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.2513, allocations: 0 / 0.7245 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.2514, allocations: 53.38 kB / 0.7245 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2515, allocations: 3.938 kB / 0.7245 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2515, allocations: 0 / 0.7245 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2515, allocations: 0 / 0.7245 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.2516, allocations: 122.2 kB / 0.7247 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2516, allocations: 0 / 0.7247 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.2517, allocations: 4 kB / 0.7247 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2517, allocations: 3.953 kB / 0.7247 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2517, allocations: 0 / 0.7247 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2517, allocations: 3.984 kB / 0.7247 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2517, allocations: 4.031 kB / 0.7247 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.2518, allocations: 55.3 kB / 0.7247 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2519, allocations: 77.11 kB / 0.7248 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2519, allocations: 7.891 kB / 0.7248 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.2519, allocations: 7.984 kB / 0.7248 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.252, allocations: 0 / 0.7248 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.252, allocations: 0 / 0.7248 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.252, allocations: 83.31 kB / 0.7249 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.252, allocations: 0 / 0.7249 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003264/0.2523, allocations: 8 kB / 0.7249 GB, free: 0.6953 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 () * 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.0001718/0.2525, allocations: 107.2 kB / 0.725 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.697e-05/0.2526, allocations: 7.938 kB / 0.725 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2526, allocations: 0 / 0.725 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.2526, allocations: 0 / 0.725 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.2528, allocations: 4 kB / 0.725 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001428/0.2529, allocations: 44.19 kB / 0.7251 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2532, allocations: 0.6767 MB / 0.7257 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.2532, allocations: 0 / 0.7257 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.2533, allocations: 19.36 kB / 0.7257 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.2533, allocations: 3.938 kB / 0.7257 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.002469/0.2558, allocations: 272 kB / 0.726 GB, free: 15.51 MB / 0.5105 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)