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.76/0.76, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001223/0.001223, allocations: 176 kB / 173.8 MB, free: 6.129 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.824/1.824, allocations: 205.4 MB / 409 MB, free: 10.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.00115/0.00115, allocations: 88.17 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003378, allocations: 11.44 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.3083, allocations: 102.8 MB / 0.7357 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.3086, allocations: 87.94 kB / 0.7358 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003673/0.3123, allocations: 1.238 MB / 0.737 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3123, allocations: 0 / 0.737 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3123, allocations: 0 / 0.737 GB, free: 6.273 MB / 0.5105 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.0003421/0.3127, allocations: 335.4 kB / 0.7373 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3127, allocations: 8.031 kB / 0.7373 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.3128, allocations: 3.953 kB / 0.7373 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.3129, allocations: 159.1 kB / 0.7375 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3129, allocations: 4 kB / 0.7375 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3129, allocations: 0 / 0.7375 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.313, allocations: 29.7 kB / 0.7375 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3131, allocations: 0 / 0.7375 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3131, allocations: 3.984 kB / 0.7375 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3131, allocations: 4 kB / 0.7375 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.3131, allocations: 7.938 kB / 0.7375 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.3133, allocations: 145.6 kB / 0.7377 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.3134, allocations: 18.61 kB / 0.7377 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/0.3141, allocations: 0.5584 MB / 0.7383 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.3141, allocations: 38.55 kB / 0.7383 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3141, allocations: 0 / 0.7383 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001774/0.3143, allocations: 33.64 kB / 0.7383 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3144, allocations: 55.34 kB / 0.7384 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.3144, allocations: 85 kB / 0.7385 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3144, allocations: 33.7 kB / 0.7385 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.3145, allocations: 80.14 kB / 0.7386 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3145, allocations: 3.938 kB / 0.7386 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.3145, allocations: 4.125 kB / 0.7386 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3147, allocations: 314.8 kB / 0.7389 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.3147, allocations: 0 / 0.7389 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.3147, allocations: 4 kB / 0.7389 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.3147, allocations: 3.984 kB / 0.7389 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3148, allocations: 0 / 0.7389 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.365e-05/0.3148, allocations: 33.64 kB / 0.7389 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3149, allocations: 11.94 kB / 0.7389 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3149, allocations: 96 / 0.7389 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3149, allocations: 4 kB / 0.7389 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.315, allocations: 0 / 0.7389 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.315, allocations: 0 / 0.7389 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.315, allocations: 7.906 kB / 0.7389 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.315, allocations: 0 / 0.7389 GB, free: 3.973 MB / 0.5105 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 9.859e-05/0.3151, allocations: 120.2 kB / 0.739 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-06/0.3151, allocations: 0 / 0.739 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.3152, allocations: 44.81 kB / 0.7391 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3152, allocations: 0 / 0.7391 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3153, allocations: 0 / 0.7391 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3153, allocations: 3.984 kB / 0.7391 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3154, allocations: 153.6 kB / 0.7392 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3154, allocations: 3.938 kB / 0.7392 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.3154, allocations: 4 kB / 0.7392 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3155, allocations: 0 / 0.7392 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3155, allocations: 0 / 0.7392 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3155, allocations: 0 / 0.7392 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3155, allocations: 4.031 kB / 0.7393 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.334e-05/0.3156, allocations: 59.12 kB / 0.7393 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.3156, allocations: 81.06 kB / 0.7394 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3156, allocations: 0 / 0.7394 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.3157, allocations: 8 kB / 0.7394 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.3157, allocations: 3.938 kB / 0.7394 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3157, allocations: 4 kB / 0.7394 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.3157, allocations: 79.31 kB / 0.7395 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3157, allocations: 0 / 0.7395 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002383/0.316, allocations: 8 kB / 0.7395 GB, free: 3.309 MB / 0.5105 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.0002133/0.3162, allocations: 119 kB / 0.7396 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.3163, allocations: 7.938 kB / 0.7396 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3163, allocations: 0 / 0.7396 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.502e-06/0.3163, allocations: 0 / 0.7396 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.3164, allocations: 4.125 kB / 0.7396 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.3167, allocations: 86.69 kB / 0.7397 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.317, allocations: 0.6692 MB / 0.7403 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.317, allocations: 4 kB / 0.7403 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.317, allocations: 7.438 kB / 0.7404 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/0.317, allocations: 0 / 0.7404 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of Templates: time 0.002296/0.3193, allocations: 281.8 kB / 0.7406 GB, free: 2.074 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)