Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4973/0.4973, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009154, allocations: 90.77 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.536e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 72.32 MB / 0.5535 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5384, allocations: 101.1 MB / 0.6523 GB, free: 9.121 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.5387, allocations: 82.56 kB / 0.6524 GB, free: 9.074 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00469/0.5434, allocations: 1.705 MB / 0.654 GB, free: 7.629 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5434, allocations: 0 / 0.654 GB, free: 7.629 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.5434, allocations: 3.938 kB / 0.654 GB, free: 7.625 MB / 458.7 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.0002457/0.5437, allocations: 338.4 kB / 0.6543 GB, free: 7.254 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5437, allocations: 8.031 kB / 0.6544 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.5437, allocations: 3.953 kB / 0.6544 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.502e-05/0.5438, allocations: 159.1 kB / 0.6545 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5439, allocations: 0 / 0.6545 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-06/0.5439, allocations: 4 kB / 0.6545 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.245e-05/0.5439, allocations: 7.938 kB / 0.6545 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.133e-05/0.544, allocations: 25.7 kB / 0.6545 GB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.544, allocations: 7.984 kB / 0.6546 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.544, allocations: 0 / 0.6546 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.544, allocations: 3.953 kB / 0.6546 GB, free: 6.992 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.5441, allocations: 122.2 kB / 0.6547 GB, free: 6.836 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.286e-05/0.5442, allocations: 14.58 kB / 0.6547 GB, free: 6.812 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.5442, allocations: 8.953 kB / 0.6547 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.5447, allocations: 0.5622 MB / 0.6552 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.5447, allocations: 30.56 kB / 0.6553 GB, free: 6.074 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5447, allocations: 0 / 0.6553 GB, free: 6.074 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.5449, allocations: 37.62 kB / 0.6553 GB, free: 6.031 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.5449, allocations: 51.41 kB / 0.6554 GB, free: 5.969 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.248e-05/0.5449, allocations: 89.03 kB / 0.6554 GB, free: 5.875 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5449, allocations: 25.7 kB / 0.6555 GB, free: 5.844 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.545, allocations: 87.64 kB / 0.6556 GB, free: 5.758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.545, allocations: 4.531 kB / 0.6556 GB, free: 5.754 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.545, allocations: 0 / 0.6556 GB, free: 5.754 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.5451, allocations: 314.8 kB / 0.6559 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.5451, allocations: 0 / 0.6559 GB, free: 5.438 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.5451, allocations: 0 / 0.6559 GB, free: 5.438 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.5452, allocations: 7.984 kB / 0.6559 GB, free: 5.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5452, allocations: 4.062 kB / 0.6559 GB, free: 5.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.906e-05/0.5452, allocations: 33.7 kB / 0.6559 GB, free: 5.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5453, allocations: 7.938 kB / 0.6559 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.5453, allocations: 0 / 0.6559 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5453, allocations: 3.938 kB / 0.6559 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.5453, allocations: 7.938 kB / 0.6559 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.5453, allocations: 0 / 0.6559 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.5454, allocations: 0 / 0.6559 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.5454, allocations: 7.969 kB / 0.6559 GB, free: 5.359 MB / 458.7 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 () * 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 5.303e-05/0.5454, allocations: 109 kB / 0.656 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.5454, allocations: 0 / 0.656 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.5455, allocations: 41.27 kB / 0.6561 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.5455, allocations: 0 / 0.6561 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5456, allocations: 3.984 kB / 0.6561 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-06/0.5456, allocations: 0 / 0.6561 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.203e-05/0.5456, allocations: 126.2 kB / 0.6562 GB, free: 5.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5456, allocations: 6.641 kB / 0.6562 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.5457, allocations: 4.031 kB / 0.6562 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.5457, allocations: 0 / 0.6562 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5457, allocations: 0 / 0.6562 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5457, allocations: 4 kB / 0.6562 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5457, allocations: 3.938 kB / 0.6562 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.161e-05/0.5458, allocations: 56.94 kB / 0.6563 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.5458, allocations: 81.06 kB / 0.6563 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.5458, allocations: 4 kB / 0.6563 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.5458, allocations: 4.031 kB / 0.6563 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.5458, allocations: 0 / 0.6563 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.5459, allocations: 0 / 0.6563 GB, free: 4.852 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.811e-05/0.5459, allocations: 75.28 kB / 0.6564 GB, free: 4.777 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5459, allocations: 0 / 0.6564 GB, free: 4.777 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.5461, allocations: 11.98 kB / 0.6564 GB, free: 4.766 MB / 458.7 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 () * 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.0001517/0.5462, allocations: 107.2 kB / 0.6565 GB, free: 4.648 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.834e-05/0.5463, allocations: 8 kB / 0.6565 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5463, allocations: 0 / 0.6565 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.5463, allocations: 7.938 kB / 0.6566 GB, free: 4.633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.221e-05/0.5464, allocations: 2.406 kB / 0.6566 GB, free: 4.633 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001327/0.5465, allocations: 55.69 kB / 0.6566 GB, free: 4.559 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.5467, allocations: 0.669 MB / 0.6573 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.5468, allocations: 4 kB / 0.6573 GB, free: 3.859 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.5468, allocations: 11.56 kB / 0.6573 GB, free: 3.848 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5468, allocations: 0 / 0.6573 GB, free: 3.848 MB / 458.7 MB Notification: Performance of Templates: time 0.001877/0.5487, allocations: 272.7 kB / 0.6575 GB, free: 3.59 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)