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.0008368/0.0008365, allocations: 95.77 kB / 16.02 MB, free: 76 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.001212/0.001212, allocations: 181.9 kB / 16.92 MB, free: 6.691 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.428/1.428, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7353/0.7353, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1783, allocations: 77.54 MB / 0.56 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009306/0.1793, allocations: 311.8 kB / 0.5603 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1812, allocations: 1.235 MB / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.1813, allocations: 0 / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1813, allocations: 0 / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1813, allocations: 8 kB / 0.5615 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1817, allocations: 47.83 kB / 0.5615 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.944e-05/0.1817, allocations: 0 / 0.5615 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.1818, allocations: 0 / 0.5615 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.1818, allocations: 0 / 0.5615 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.1819, allocations: 7.984 kB / 0.5615 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1819, allocations: 0 / 0.5615 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.1822, allocations: 99.89 kB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.1822, allocations: 0 / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.1823, allocations: 29.69 kB / 0.5617 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1824, allocations: 51.95 kB / 0.5617 GB, free: 7.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1824, allocations: 0 / 0.5617 GB, free: 7.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1824, allocations: 0 / 0.5617 GB, free: 7.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1824, allocations: 0 / 0.5617 GB, free: 7.203 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.0003986/0.1828, allocations: 327.5 kB / 0.562 GB, free: 6.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.1829, allocations: 8.031 kB / 0.562 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.1829, allocations: 4.938 kB / 0.562 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1831, allocations: 164.4 kB / 0.5622 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1831, allocations: 384 / 0.5622 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1831, allocations: 4.375 kB / 0.5622 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1832, allocations: 41.92 kB / 0.5622 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1832, allocations: 4 kB / 0.5622 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1833, allocations: 0 / 0.5622 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1833, allocations: 0 / 0.5622 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.1833, allocations: 0 / 0.5622 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.1835, allocations: 145.7 kB / 0.5624 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.1835, allocations: 18.61 kB / 0.5624 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.1836, allocations: 8.859 kB / 0.5624 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/0.1842, allocations: 0.5739 MB / 0.563 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1843, allocations: 38.44 kB / 0.563 GB, free: 5.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.1843, allocations: 0 / 0.563 GB, free: 5.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.1844, allocations: 41.78 kB / 0.563 GB, free: 5.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1845, allocations: 51.41 kB / 0.5631 GB, free: 5.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.1845, allocations: 89.86 kB / 0.5632 GB, free: 5.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1846, allocations: 25.7 kB / 0.5632 GB, free: 5.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.1846, allocations: 80.14 kB / 0.5633 GB, free: 5.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.1846, allocations: 7.906 kB / 0.5633 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.1847, allocations: 9.719 kB / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1848, allocations: 310.8 kB / 0.5636 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.1848, allocations: 4 kB / 0.5636 GB, free: 4.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1849, allocations: 7.969 kB / 0.5636 GB, free: 4.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.1849, allocations: 8.859 kB / 0.5636 GB, free: 4.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1849, allocations: 0 / 0.5636 GB, free: 4.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.998e-05/0.185, allocations: 33.69 kB / 0.5636 GB, free: 4.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.185, allocations: 7.938 kB / 0.5637 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.185, allocations: 4 kB / 0.5637 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.185, allocations: 0 / 0.5637 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.1851, allocations: 0 / 0.5637 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1851, allocations: 96 / 0.5637 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.1851, allocations: 11.94 kB / 0.5637 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1851, allocations: 4 kB / 0.5637 GB, free: 4.844 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.423e-05/0.1852, allocations: 105.8 kB / 0.5638 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.1852, allocations: 3.938 kB / 0.5638 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1853, allocations: 40.75 kB / 0.5638 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1854, allocations: 8 kB / 0.5638 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1854, allocations: 4.031 kB / 0.5638 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1854, allocations: 0 / 0.5638 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1855, allocations: 149.7 kB / 0.564 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1855, allocations: 0 / 0.564 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.1856, allocations: 4 kB / 0.564 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1856, allocations: 3.938 kB / 0.564 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1856, allocations: 0 / 0.564 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1856, allocations: 0 / 0.564 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1856, allocations: 0 / 0.564 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.1857, allocations: 65.06 kB / 0.564 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.1858, allocations: 81.39 kB / 0.5641 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1858, allocations: 3.938 kB / 0.5641 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.1858, allocations: 0 / 0.5641 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1858, allocations: 0 / 0.5641 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1858, allocations: 0 / 0.5641 GB, free: 4.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.628e-05/0.1859, allocations: 79.28 kB / 0.5642 GB, free: 4.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1859, allocations: 3.938 kB / 0.5642 GB, free: 4.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.1861, allocations: 4 kB / 0.5642 GB, free: 4.199 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 (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.0002527/0.1864, allocations: 111.3 kB / 0.5643 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.493e-05/0.1864, allocations: 4 kB / 0.5643 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1864, allocations: 0 / 0.5643 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.265e-06/0.1865, allocations: 7.938 kB / 0.5643 GB, free: 4.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.1866, allocations: 3.938 kB / 0.5643 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.1868, allocations: 82.7 kB / 0.5644 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1872, allocations: 0.6772 MB / 0.5651 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.463e-05/0.1872, allocations: 0 / 0.5651 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.1872, allocations: 7.438 kB / 0.5651 GB, free: 3.246 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1872, allocations: 4 kB / 0.5651 GB, free: 3.242 MB / 430.1 MB Notification: Performance of Templates: time 0.002908/0.1901, allocations: 286.1 kB / 0.5653 GB, free: 2.965 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)