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.7937/0.7937, allocations: 128.7 MB / 144.5 MB, free: 1.363 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.001846/0.001846, allocations: 186.2 kB / 174.2 MB, free: 5.945 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.519/1.519, allocations: 205 MB / 408.9 MB, free: 9.715 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.001075/0.001075, allocations: 98.28 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 59.75 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1801, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001831/0.182, allocations: 0.6349 MB / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1832, allocations: 0.9853 MB / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.1832, allocations: 0 / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.1833, allocations: 0 / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.914e-06/0.1833, allocations: 0 / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1836, allocations: 55.77 kB / 0.6333 GB, free: 31.33 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.1837, allocations: 4 kB / 0.6333 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.1838, allocations: 3.984 kB / 0.6333 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.1838, allocations: 0 / 0.6333 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.1838, allocations: 4 kB / 0.6333 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1839, allocations: 0 / 0.6333 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.184, allocations: 83.91 kB / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1841, allocations: 0 / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.1841, allocations: 4 kB / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1842, allocations: 51.94 kB / 0.6335 GB, free: 31.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1842, allocations: 0 / 0.6335 GB, free: 31.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1842, allocations: 0 / 0.6335 GB, free: 31.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1843, allocations: 0 / 0.6335 GB, free: 31.18 MB / 442.7 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.00029/0.1845, allocations: 323.6 kB / 0.6338 GB, free: 30.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1846, allocations: 15.97 kB / 0.6338 GB, free: 30.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1846, allocations: 0.9375 kB / 0.6338 GB, free: 30.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.204e-05/0.1847, allocations: 160.4 kB / 0.634 GB, free: 30.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1847, allocations: 4.359 kB / 0.634 GB, free: 30.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1847, allocations: 4.312 kB / 0.634 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1848, allocations: 38.2 kB / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1849, allocations: 192 / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1849, allocations: 3.938 kB / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1849, allocations: 0 / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.1849, allocations: 0 / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.185, allocations: 149.7 kB / 0.6341 GB, free: 30.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.414e-05/0.1851, allocations: 14.58 kB / 0.6342 GB, free: 30.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.1851, allocations: 16.94 kB / 0.6342 GB, free: 30.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/0.1856, allocations: 0.5661 MB / 0.6347 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1856, allocations: 30.56 kB / 0.6348 GB, free: 29.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.1856, allocations: 0 / 0.6348 GB, free: 29.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.1857, allocations: 37.62 kB / 0.6348 GB, free: 29.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1858, allocations: 51.53 kB / 0.6348 GB, free: 29.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.995e-05/0.1858, allocations: 93.86 kB / 0.6349 GB, free: 29.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.1858, allocations: 25.7 kB / 0.635 GB, free: 29.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.662e-05/0.1859, allocations: 84.14 kB / 0.635 GB, free: 29.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1859, allocations: 0 / 0.635 GB, free: 29.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.1859, allocations: 17.66 kB / 0.6351 GB, free: 29.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.186, allocations: 310.8 kB / 0.6353 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.186, allocations: 4 kB / 0.6354 GB, free: 28.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.186, allocations: 3.938 kB / 0.6354 GB, free: 28.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.1861, allocations: 12.92 kB / 0.6354 GB, free: 28.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1861, allocations: 0 / 0.6354 GB, free: 28.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.404e-05/0.1861, allocations: 37.69 kB / 0.6354 GB, free: 28.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1861, allocations: 4 kB / 0.6354 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1861, allocations: 4 kB / 0.6354 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1862, allocations: 3.938 kB / 0.6354 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.1862, allocations: 0 / 0.6354 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1862, allocations: 0 / 0.6354 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.1862, allocations: 32 / 0.6354 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1863, allocations: 8 kB / 0.6354 GB, free: 28.83 MB / 442.7 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 5.514e-05/0.1863, allocations: 105.8 kB / 0.6355 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.1863, allocations: 3.938 kB / 0.6355 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.489e-05/0.1864, allocations: 40.75 kB / 0.6356 GB, free: 28.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1864, allocations: 0 / 0.6356 GB, free: 28.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1864, allocations: 7.938 kB / 0.6356 GB, free: 28.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1864, allocations: 4.031 kB / 0.6356 GB, free: 28.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.558e-05/0.1865, allocations: 153.7 kB / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1865, allocations: 0 / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.1866, allocations: 4 kB / 0.6357 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1866, allocations: 0 / 0.6357 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1866, allocations: 7.922 kB / 0.6357 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1866, allocations: 3.984 kB / 0.6357 GB, free: 28.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1866, allocations: 0 / 0.6357 GB, free: 28.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1868, allocations: 0.6045 MB / 0.6363 GB, free: 27.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.1868, allocations: 81.02 kB / 0.6364 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1869, allocations: 0 / 0.6364 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-06/0.1869, allocations: 0 / 0.6364 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.1869, allocations: 3.984 kB / 0.6364 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.1869, allocations: 3.938 kB / 0.6364 GB, free: 27.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.536e-05/0.1869, allocations: 79.28 kB / 0.6365 GB, free: 27.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1869, allocations: 0 / 0.6365 GB, free: 27.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.1873, allocations: 8.031 kB / 0.6365 GB, free: 27.59 MB / 442.7 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.0001518/0.1874, allocations: 103.2 kB / 0.6366 GB, free: 27.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.581e-05/0.1875, allocations: 4 kB / 0.6366 GB, free: 27.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1875, allocations: 0 / 0.6366 GB, free: 27.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.1875, allocations: 7.984 kB / 0.6366 GB, free: 27.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1876, allocations: 3.938 kB / 0.6366 GB, free: 27.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.1879, allocations: 185.7 kB / 0.6368 GB, free: 27.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.188, allocations: 0.6692 MB / 0.6374 GB, free: 26.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.484e-05/0.188, allocations: 7.984 kB / 0.6375 GB, free: 26.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.188, allocations: 7.438 kB / 0.6375 GB, free: 26.53 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1881, allocations: 0 / 0.6375 GB, free: 26.53 MB / 442.7 MB Notification: Performance of Templates: time 0.002251/0.1903, allocations: 301.4 kB / 0.6377 GB, free: 26.24 MB / 442.7 MB 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)