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.001164/0.001164, allocations: 96.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 175.1 kB / 16.57 MB, free: 6.391 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.325/1.325, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.668/0.668, allocations: 113.8 MB / 405.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 8 kB / 493.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 77.14 MB / 0.5568 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005711/0.14, allocations: 295.1 kB / 0.5571 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1412, allocations: 1.204 MB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.094e-05/0.1413, allocations: 0 / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.115e-06/0.1413, allocations: 0 / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.188e-06/0.1413, allocations: 0 / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1415, allocations: 47.2 kB / 0.5583 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.993e-05/0.1416, allocations: 4 kB / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.1416, allocations: 11.92 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.916e-05/0.1416, allocations: 7.984 kB / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.1417, allocations: 0 / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.1417, allocations: 0 / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.1419, allocations: 83.91 kB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.1419, allocations: 3.984 kB / 0.5585 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.1419, allocations: 25.7 kB / 0.5585 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.142, allocations: 39.91 kB / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.142, allocations: 0 / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.142, allocations: 0 / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.142, allocations: 0 / 0.5585 GB, free: 9.816 MB / 430.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.000234/0.1423, allocations: 327.4 kB / 0.5588 GB, free: 9.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1423, allocations: 12.02 kB / 0.5588 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.1423, allocations: 0 / 0.5588 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.1424, allocations: 159.1 kB / 0.559 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1424, allocations: 0 / 0.559 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.1424, allocations: 4 kB / 0.559 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.415e-05/0.1425, allocations: 33.62 kB / 0.559 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1425, allocations: 3.953 kB / 0.559 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1425, allocations: 4 kB / 0.559 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1426, allocations: 0 / 0.559 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.1426, allocations: 4 kB / 0.559 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.1427, allocations: 145.7 kB / 0.5592 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.17e-05/0.1427, allocations: 18.61 kB / 0.5592 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/0.1432, allocations: 0.5623 MB / 0.5597 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1433, allocations: 38.56 kB / 0.5598 GB, free: 8.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1433, allocations: 3.938 kB / 0.5598 GB, free: 8.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000105/0.1434, allocations: 37.64 kB / 0.5598 GB, free: 8.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1434, allocations: 51.41 kB / 0.5599 GB, free: 8.121 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.377e-05/0.1435, allocations: 89.86 kB / 0.56 GB, free: 8.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.1435, allocations: 25.7 kB / 0.56 GB, free: 7.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.1435, allocations: 88.27 kB / 0.5601 GB, free: 7.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1435, allocations: 3.984 kB / 0.5601 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-06/0.1435, allocations: 7.938 kB / 0.5601 GB, free: 7.891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.1436, allocations: 314.8 kB / 0.5604 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.1437, allocations: 0 / 0.5604 GB, free: 7.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.1437, allocations: 0 / 0.5604 GB, free: 7.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.499e-05/0.1437, allocations: 4 kB / 0.5604 GB, free: 7.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1437, allocations: 0 / 0.5604 GB, free: 7.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.999e-05/0.1437, allocations: 45.47 kB / 0.5604 GB, free: 7.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1438, allocations: 8.094 kB / 0.5604 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1438, allocations: 0 / 0.5604 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.1438, allocations: 4 kB / 0.5604 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.59e-05/0.1438, allocations: 0 / 0.5604 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1438, allocations: 3.953 kB / 0.5604 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.1439, allocations: 0 / 0.5604 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.1439, allocations: 0 / 0.5604 GB, free: 7.504 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.1439, allocations: 109.8 kB / 0.5605 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.1439, allocations: 0 / 0.5605 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.144, allocations: 52.75 kB / 0.5606 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.144, allocations: 0 / 0.5606 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1441, allocations: 4 kB / 0.5606 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1441, allocations: 3.953 kB / 0.5606 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.279e-05/0.1441, allocations: 141.7 kB / 0.5607 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1441, allocations: 0 / 0.5607 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.1442, allocations: 3.984 kB / 0.5607 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1442, allocations: 4 kB / 0.5607 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.1442, allocations: 4.031 kB / 0.5607 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1442, allocations: 0 / 0.5607 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1442, allocations: 0 / 0.5607 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.809e-05/0.1443, allocations: 61.09 kB / 0.5608 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.1443, allocations: 81.38 kB / 0.5609 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.1443, allocations: 0 / 0.5609 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.1443, allocations: 0 / 0.5609 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.1443, allocations: 3.938 kB / 0.5609 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1443, allocations: 4.031 kB / 0.5609 GB, free: 6.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.442e-05/0.1444, allocations: 75.28 kB / 0.561 GB, free: 6.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 0 / 0.561 GB, free: 6.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.1446, allocations: 12 kB / 0.561 GB, free: 6.852 MB / 430.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 (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.0001347/0.1447, allocations: 103.9 kB / 0.5611 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.982e-05/0.1448, allocations: 11.98 kB / 0.5611 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1448, allocations: 0 / 0.5611 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.1448, allocations: 8.062 kB / 0.5611 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.045e-05/0.1449, allocations: 7.891 kB / 0.5611 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001412/0.145, allocations: 80.06 kB / 0.5612 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.1452, allocations: 0.677 MB / 0.5618 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.071e-05/0.1453, allocations: 0 / 0.5618 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1453, allocations: 15.38 kB / 0.5619 GB, free: 5.891 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1453, allocations: 0 / 0.5619 GB, free: 5.891 MB / 430.1 MB Notification: Performance of Templates: time 0.001835/0.1471, allocations: 280 kB / 0.5621 GB, free: 5.617 MB / 430.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)