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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 119.3 kB / 17.09 MB, free: 6 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.001112/0.001112, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7174/0.7174, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.52 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1584, allocations: 76.18 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001934/0.1604, allocations: 0.5666 MB / 0.6333 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1623, allocations: 1.256 MB / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.1623, allocations: 0 / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.1623, allocations: 4 kB / 0.6346 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.1624, allocations: 4 kB / 0.6346 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1628, allocations: 67.75 kB / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.1629, allocations: 0 / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1629, allocations: 0 / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.1629, allocations: 4 kB / 0.6346 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.163, allocations: 0 / 0.6346 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.163, allocations: 0 / 0.6346 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.1633, allocations: 95.89 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.1633, allocations: 0 / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1633, allocations: 4 kB / 0.6347 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1635, allocations: 59.86 kB / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.1635, allocations: 4 kB / 0.6348 GB, free: 2.277 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1635, allocations: 3.938 kB / 0.6348 GB, free: 2.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1635, allocations: 0 / 0.6348 GB, free: 2.273 MB / 478.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.0003463/0.1638, allocations: 323.6 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1639, allocations: 8.031 kB / 0.6351 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.1639, allocations: 0.9375 kB / 0.6351 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.164, allocations: 160.4 kB / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1641, allocations: 4.375 kB / 0.6353 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1641, allocations: 4.375 kB / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.1642, allocations: 30.02 kB / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1642, allocations: 0 / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1642, allocations: 0 / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1642, allocations: 3.938 kB / 0.6353 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.1642, allocations: 7.984 kB / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.1644, allocations: 145.7 kB / 0.6355 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/0.1645, allocations: 22.55 kB / 0.6355 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.1645, allocations: 8.859 kB / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/0.1651, allocations: 0.5623 MB / 0.636 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1651, allocations: 34.5 kB / 0.6361 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1651, allocations: 4 kB / 0.6361 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.1653, allocations: 33.64 kB / 0.6361 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1653, allocations: 55.53 kB / 0.6362 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.1654, allocations: 89.86 kB / 0.6362 GB, free: 488 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1654, allocations: 29.7 kB / 0.6363 GB, free: 452 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.1655, allocations: 84.12 kB / 0.6363 GB, free: 364 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.1655, allocations: 7.891 kB / 0.6364 GB, free: 356 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.1655, allocations: 13.72 kB / 0.6364 GB, free: 336 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1657, allocations: 310.8 kB / 0.6367 GB, free: 16 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.1657, allocations: 0 / 0.6367 GB, free: 16 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-06/0.1657, allocations: 8 kB / 0.6367 GB, free: 8 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.1657, allocations: 4.859 kB / 0.6367 GB, free: 0 / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/0.1658, allocations: 0 / 0.6367 GB, free: 0 / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.379e-05/0.1658, allocations: 41.77 kB / 0.6367 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1658, allocations: 15.86 kB / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1659, allocations: 0 / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1659, allocations: 0 / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.1659, allocations: 4 kB / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1659, allocations: 0 / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.166, allocations: 4.094 kB / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.166, allocations: 0 / 0.6367 GB, free: 15.93 MB / 494.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 9.216e-05/0.1661, allocations: 109.8 kB / 0.6368 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.1661, allocations: 3.938 kB / 0.6368 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.196e-05/0.1662, allocations: 44.75 kB / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1662, allocations: 0 / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1662, allocations: 3.984 kB / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1662, allocations: 4.031 kB / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1663, allocations: 145.7 kB / 0.637 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1663, allocations: 0 / 0.637 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.1664, allocations: 11.92 kB / 0.637 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1664, allocations: 3.938 kB / 0.6371 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1664, allocations: 4 kB / 0.6371 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1664, allocations: 3.984 kB / 0.6371 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1664, allocations: 0 / 0.6371 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.023e-05/0.1665, allocations: 57.14 kB / 0.6371 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.1665, allocations: 81.05 kB / 0.6372 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1665, allocations: 11.92 kB / 0.6372 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-06/0.1666, allocations: 0 / 0.6372 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.1666, allocations: 0 / 0.6372 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1666, allocations: 0 / 0.6372 GB, free: 15.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.04e-05/0.1666, allocations: 75.28 kB / 0.6373 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1666, allocations: 0 / 0.6373 GB, free: 15.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000198/0.1668, allocations: 11.88 kB / 0.6373 GB, free: 15.27 MB / 494.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.0001594/0.167, allocations: 103.3 kB / 0.6374 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.1671, allocations: 11.92 kB / 0.6374 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1671, allocations: 0 / 0.6374 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-06/0.1671, allocations: 4 kB / 0.6374 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.1672, allocations: 5.719 kB / 0.6374 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.1674, allocations: 102.8 kB / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1677, allocations: 0.6729 MB / 0.6382 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.1677, allocations: 11.44 kB / 0.6382 GB, free: 14.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1677, allocations: 0 / 0.6382 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Templates: time 0.00185/0.1696, allocations: 431.8 kB / 0.6386 GB, free: 13.87 MB / 494.1 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)