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.001284/0.00129, allocations: 113 kB / 16.41 MB, free: 6.492 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.001325/0.001325, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.728/0.728, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.11 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1531, allocations: 76.17 MB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001603/0.1547, allocations: 0.5752 MB / 0.6327 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1562, allocations: 1.256 MB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.1562, allocations: 0 / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.1562, allocations: 0 / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1562, allocations: 0 / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1566, allocations: 71.73 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.585e-05/0.1566, allocations: 0 / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.1567, allocations: 3.984 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.1567, allocations: 4 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.1567, allocations: 4 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.1567, allocations: 0 / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.157, allocations: 103.8 kB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.157, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.157, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1571, allocations: 55.88 kB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1571, allocations: 0 / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1571, allocations: 0 / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1572, allocations: 0 / 0.6341 GB, free: 2.277 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.0002828/0.1574, allocations: 331.6 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1575, allocations: 8.031 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.1575, allocations: 0.9375 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.1576, allocations: 168.4 kB / 0.6346 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1576, allocations: 384 / 0.6346 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1576, allocations: 4.375 kB / 0.6346 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/0.1577, allocations: 30.02 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1577, allocations: 0 / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1578, allocations: 0 / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1578, allocations: 0 / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.1578, allocations: 7.938 kB / 0.6347 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.1579, allocations: 153.7 kB / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.346e-05/0.158, allocations: 18.61 kB / 0.6348 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.158, allocations: 4.859 kB / 0.6348 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.1585, allocations: 0.5584 MB / 0.6354 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1585, allocations: 38.5 kB / 0.6354 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1585, allocations: 4 kB / 0.6354 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001123/0.1586, allocations: 37.64 kB / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.1587, allocations: 51.41 kB / 0.6355 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.259e-05/0.1587, allocations: 89.86 kB / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1587, allocations: 25.7 kB / 0.6356 GB, free: 452 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.1588, allocations: 80.14 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1588, allocations: 3.906 kB / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.1588, allocations: 13.72 kB / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.1589, allocations: 323 kB / 0.636 GB, free: 12 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.1589, allocations: 3.938 kB / 0.636 GB, free: 8 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-06/0.1589, allocations: 4 kB / 0.636 GB, free: 4 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.159, allocations: 4.859 kB / 0.636 GB, free: 16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.159, allocations: 3.938 kB / 0.636 GB, free: 15.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.906e-05/0.159, allocations: 41.62 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1591, allocations: 7.938 kB / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1591, allocations: 96 / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1591, allocations: 4 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.1591, allocations: 4 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.1591, allocations: 3.984 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.1592, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1592, allocations: 0 / 0.6361 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 6.121e-05/0.1592, allocations: 109.8 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-06/0.1592, allocations: 7.938 kB / 0.6362 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.1593, allocations: 44.7 kB / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1593, allocations: 3.984 kB / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1594, allocations: 0 / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1594, allocations: 0 / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.684e-05/0.1594, allocations: 149.7 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1594, allocations: 0 / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.1595, allocations: 4 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1595, allocations: 3.938 kB / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.1595, allocations: 0 / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1595, allocations: 0 / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1595, allocations: 8.031 kB / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.524e-05/0.1596, allocations: 53.12 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.1596, allocations: 77.11 kB / 0.6365 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1596, allocations: 7.938 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.1596, allocations: 0 / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-06/0.1596, allocations: 3.938 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.1596, allocations: 4 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.1597, allocations: 79.31 kB / 0.6366 GB, free: 15.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1597, allocations: 0 / 0.6366 GB, free: 15.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.1599, allocations: 7.984 kB / 0.6366 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.0001373/0.16, allocations: 107.2 kB / 0.6367 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.1601, allocations: 4 kB / 0.6367 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1601, allocations: 0 / 0.6367 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.1601, allocations: 4 kB / 0.6367 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.0001241/0.1602, allocations: 4.062 kB / 0.6367 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.1604, allocations: 89.05 kB / 0.6368 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.1606, allocations: 0.6767 MB / 0.6375 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.801e-05/0.1606, allocations: 3.938 kB / 0.6375 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.1606, allocations: 7.438 kB / 0.6375 GB, free: 14.31 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1607, allocations: 0 / 0.6375 GB, free: 14.31 MB / 494.1 MB Notification: Performance of Templates: time 0.002024/0.1627, allocations: 307.5 kB / 0.6378 GB, free: 14.02 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)