Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8147/0.8147, allocations: 128.7 MB / 144.5 MB, free: 1.375 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.001255/0.001255, allocations: 198.3 kB / 174.2 MB, free: 5.93 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.513/1.513, allocations: 205.1 MB / 408.9 MB, free: 9.68 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: 106 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 60.91 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1591, allocations: 75.47 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00183/0.1609, allocations: 0.6688 MB / 0.6323 GB, free: 32.33 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1622, allocations: 1.063 MB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.1622, allocations: 0 / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.1622, allocations: 0 / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.271e-05/0.1623, allocations: 0 / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1626, allocations: 59.81 kB / 0.6334 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.1626, allocations: 12 kB / 0.6334 GB, free: 31.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1627, allocations: 3.984 kB / 0.6335 GB, free: 31.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.1627, allocations: 11.94 kB / 0.6335 GB, free: 31.17 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.1628, allocations: 15.91 kB / 0.6335 GB, free: 31.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1628, allocations: 0 / 0.6335 GB, free: 31.15 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.163, allocations: 91.91 kB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.163, allocations: 11.98 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.163, allocations: 3.938 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1632, allocations: 55.92 kB / 0.6336 GB, free: 30.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1632, allocations: 4 kB / 0.6336 GB, free: 30.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1632, allocations: 0 / 0.6336 GB, free: 30.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1632, allocations: 0 / 0.6336 GB, free: 30.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004173/0.1636, allocations: 343.5 kB / 0.634 GB, free: 30.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1637, allocations: 11.97 kB / 0.634 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1637, allocations: 4.922 kB / 0.634 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.757e-05/0.1638, allocations: 168.3 kB / 0.6341 GB, free: 30.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1638, allocations: 384 / 0.6341 GB, free: 30.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1638, allocations: 4.281 kB / 0.6341 GB, free: 30.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.164, allocations: 46.25 kB / 0.6342 GB, free: 30.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.164, allocations: 192 / 0.6342 GB, free: 30.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.164, allocations: 11.94 kB / 0.6342 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.164, allocations: 0 / 0.6342 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.1641, allocations: 11.98 kB / 0.6342 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.1642, allocations: 157.7 kB / 0.6344 GB, free: 30.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.1643, allocations: 46.56 kB / 0.6344 GB, free: 30.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.1643, allocations: 24.97 kB / 0.6344 GB, free: 30.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/0.1647, allocations: 0.5583 MB / 0.635 GB, free: 29.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1647, allocations: 30.56 kB / 0.635 GB, free: 29.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1648, allocations: 0 / 0.635 GB, free: 29.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.001597/0.1664, allocations: 470.7 kB / 0.6355 GB, free: 28.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.1664, allocations: 51.41 kB / 0.6355 GB, free: 28.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.1665, allocations: 93.84 kB / 0.6356 GB, free: 28.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1665, allocations: 25.7 kB / 0.6356 GB, free: 28.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.1665, allocations: 92.27 kB / 0.6357 GB, free: 28.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1665, allocations: 23.5 kB / 0.6357 GB, free: 28.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1666, allocations: 29.7 kB / 0.6358 GB, free: 28.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.1666, allocations: 310.8 kB / 0.6361 GB, free: 28.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.1667, allocations: 20 kB / 0.6361 GB, free: 28.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.1667, allocations: 20.56 kB / 0.6361 GB, free: 28.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.1668, allocations: 48.86 kB / 0.6361 GB, free: 28.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1668, allocations: 0 / 0.6361 GB, free: 28.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001055/0.1669, allocations: 93.56 kB / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1669, allocations: 7.984 kB / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1669, allocations: 0 / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.167, allocations: 0 / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1671, allocations: 12 kB / 0.6362 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1671, allocations: 4 kB / 0.6363 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.1671, allocations: 4 kB / 0.6363 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1671, allocations: 3.938 kB / 0.6363 GB, free: 27.9 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 (9): * Single equations (assignments): 9 * 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.53e-05/0.1672, allocations: 113.8 kB / 0.6364 GB, free: 27.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.1672, allocations: 15.83 kB / 0.6364 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1674, allocations: 97.62 kB / 0.6365 GB, free: 27.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1674, allocations: 4 kB / 0.6365 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1675, allocations: 0 / 0.6365 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1675, allocations: 0 / 0.6365 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.969e-05/0.1676, allocations: 169.7 kB / 0.6366 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1676, allocations: 0 / 0.6366 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.901e-05/0.1677, allocations: 23.81 kB / 0.6367 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1677, allocations: 3.984 kB / 0.6367 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1677, allocations: 4.281 kB / 0.6367 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1677, allocations: 0 / 0.6367 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1677, allocations: 0 / 0.6367 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.1701, allocations: 1.413 MB / 0.6381 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.1702, allocations: 77.11 kB / 0.6381 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.1702, allocations: 0 / 0.6381 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.1702, allocations: 4.031 kB / 0.6381 GB, free: 25.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1703, allocations: 7.984 kB / 0.6381 GB, free: 25.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1703, allocations: 4 kB / 0.6381 GB, free: 25.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.263e-05/0.1703, allocations: 75.28 kB / 0.6382 GB, free: 25.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1703, allocations: 4.188 kB / 0.6382 GB, free: 25.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000267/0.1706, allocations: 27.94 kB / 0.6382 GB, free: 25.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0002241/0.1708, allocations: 131.2 kB / 0.6384 GB, free: 25.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.171, allocations: 51.92 kB / 0.6384 GB, free: 25.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.171, allocations: 0 / 0.6384 GB, free: 25.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.171, allocations: 35.92 kB / 0.6385 GB, free: 25.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1712, allocations: 4 kB / 0.6385 GB, free: 25.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.1716, allocations: 279.5 kB / 0.6387 GB, free: 25.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.1717, allocations: 0.6838 MB / 0.6394 GB, free: 24.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.926e-05/0.1718, allocations: 15.73 kB / 0.6394 GB, free: 24.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.1718, allocations: 11.44 kB / 0.6394 GB, free: 24.36 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1718, allocations: 0 / 0.6394 GB, free: 24.36 MB / 442.7 MB Notification: Performance of Templates: time 0.003056/0.1749, allocations: 0.837 MB / 0.6402 GB, free: 23.53 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)