Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7235/0.7235, allocations: 128.7 MB / 144.5 MB, free: 1.383 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.001281/0.001281, allocations: 188.6 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.474/1.474, allocations: 205 MB / 408.9 MB, free: 9.711 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.0009262/0.0009262, allocations: 102.2 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 53.78 kB / 0.558 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1673, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001843/0.1692, allocations: 0.6783 MB / 0.6324 GB, free: 32.36 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1709, allocations: 1.456 MB / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1709, allocations: 0 / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.945e-05/0.171, allocations: 7.938 kB / 0.6338 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.171, allocations: 0 / 0.6338 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.1716, allocations: 142.3 kB / 0.6339 GB, free: 30.74 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.1717, allocations: 39.89 kB / 0.634 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.1717, allocations: 0 / 0.634 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.1718, allocations: 23.92 kB / 0.634 GB, free: 30.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.1718, allocations: 23.97 kB / 0.634 GB, free: 30.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1718, allocations: 4 kB / 0.634 GB, free: 30.65 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.1721, allocations: 191.7 kB / 0.6342 GB, free: 30.46 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.1722, allocations: 11.94 kB / 0.6342 GB, free: 30.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.1722, allocations: 19.86 kB / 0.6342 GB, free: 30.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1725, allocations: 187.6 kB / 0.6344 GB, free: 30.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1725, allocations: 0 / 0.6344 GB, free: 30.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1725, allocations: 0 / 0.6344 GB, free: 30.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1725, allocations: 0 / 0.6344 GB, free: 30.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003813/0.1729, allocations: 446.9 kB / 0.6348 GB, free: 29.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1729, allocations: 12.03 kB / 0.6348 GB, free: 29.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.173, allocations: 4.844 kB / 0.6348 GB, free: 29.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.421e-05/0.1731, allocations: 172.2 kB / 0.635 GB, free: 29.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1731, allocations: 8.312 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1731, allocations: 8.359 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1733, allocations: 102 kB / 0.6351 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1733, allocations: 0 / 0.6351 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1733, allocations: 8 kB / 0.6351 GB, free: 29.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1733, allocations: 0 / 0.6351 GB, free: 29.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.1734, allocations: 59.95 kB / 0.6352 GB, free: 29.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1735, allocations: 173.7 kB / 0.6353 GB, free: 29.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.1736, allocations: 78.52 kB / 0.6354 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.1737, allocations: 80.83 kB / 0.6355 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.1737, allocations: 3.984 kB / 0.6355 GB, free: 28.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1737, allocations: 34.5 kB / 0.6355 GB, free: 28.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1737, allocations: 3.938 kB / 0.6355 GB, free: 28.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003145/0.1741, allocations: 251.2 kB / 0.6358 GB, free: 28.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.1741, allocations: 77.11 kB / 0.6359 GB, free: 28.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.1742, allocations: 144.5 kB / 0.636 GB, free: 28.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.1742, allocations: 29.7 kB / 0.636 GB, free: 28.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.1742, allocations: 96.06 kB / 0.6361 GB, free: 28.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1743, allocations: 15.84 kB / 0.6361 GB, free: 28.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1743, allocations: 29.66 kB / 0.6362 GB, free: 28.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.1744, allocations: 322.8 kB / 0.6365 GB, free: 27.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.1745, allocations: 99.94 kB / 0.6366 GB, free: 27.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.1746, allocations: 103.9 kB / 0.6367 GB, free: 27.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1748, allocations: 273.8 kB / 0.6369 GB, free: 27.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1748, allocations: 3.938 kB / 0.6369 GB, free: 27.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002403/0.175, allocations: 324.8 kB / 0.6372 GB, free: 27.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.1751, allocations: 71.39 kB / 0.6373 GB, free: 26.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1751, allocations: 0 / 0.6373 GB, free: 26.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1751, allocations: 0 / 0.6373 GB, free: 26.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-06/0.1751, allocations: 0 / 0.6373 GB, free: 26.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1751, allocations: 0 / 0.6373 GB, free: 26.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1752, allocations: 23.77 kB / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1753, allocations: 4 kB / 0.6373 GB, free: 26.96 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.819e-05/0.1754, allocations: 151.5 kB / 0.6375 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.1754, allocations: 15.88 kB / 0.6375 GB, free: 26.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.1754, allocations: 8.25 kB / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1754, allocations: 0 / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1754, allocations: 0 / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1754, allocations: 0 / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.484e-05/0.1755, allocations: 177.6 kB / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1755, allocations: 0 / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-06/0.1755, allocations: 3.938 kB / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1755, allocations: 0 / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1755, allocations: 4 kB / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1755, allocations: 3.984 kB / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1755, allocations: 4 kB / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.176, allocations: 0.8676 MB / 0.6385 GB, free: 25.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.176, allocations: 85.02 kB / 0.6386 GB, free: 25.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.176, allocations: 0 / 0.6386 GB, free: 25.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.285e-05/0.1761, allocations: 8 kB / 0.6386 GB, free: 25.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.1761, allocations: 8.016 kB / 0.6386 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1761, allocations: 8 kB / 0.6386 GB, free: 25.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.1762, allocations: 107.2 kB / 0.6387 GB, free: 25.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1762, allocations: 0 / 0.6387 GB, free: 25.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.1766, allocations: 71.86 kB / 0.6388 GB, free: 25.3 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002432/0.1768, allocations: 147.2 kB / 0.6389 GB, free: 25.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.1771, allocations: 378.6 kB / 0.6393 GB, free: 24.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1771, allocations: 0 / 0.6393 GB, free: 24.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.1772, allocations: 135.4 kB / 0.6394 GB, free: 24.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.1774, allocations: 8.047 kB / 0.6394 GB, free: 24.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.1777, allocations: 330.2 kB / 0.6398 GB, free: 24.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1779, allocations: 0.6926 MB / 0.6404 GB, free: 23.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.55e-06/0.1779, allocations: 0 / 0.6404 GB, free: 23.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-06/0.1779, allocations: 15.5 kB / 0.6404 GB, free: 23.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1779, allocations: 0 / 0.6404 GB, free: 23.5 MB / 442.7 MB Notification: Performance of Templates: time 0.003913/0.1818, allocations: 2.001 MB / 0.6424 GB, free: 21.51 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)