Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 106.6 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 191 kB / 17.34 MB, free: 5.754 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8828/0.8828, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.02 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00255/0.1678, allocations: 1.421 MB / 0.6777 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1691, allocations: 0.7877 MB / 0.6785 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.1691, allocations: 0 / 0.6785 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.416e-05/0.1692, allocations: 0 / 0.6785 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.1693, allocations: 3.938 kB / 0.6785 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.17, allocations: 170.4 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1701, allocations: 47.97 kB / 0.6787 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.1702, allocations: 8 kB / 0.6787 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.1702, allocations: 19.92 kB / 0.6787 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.1703, allocations: 19.91 kB / 0.6787 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1703, allocations: 7.938 kB / 0.6787 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.1707, allocations: 203.7 kB / 0.6789 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1707, allocations: 8 kB / 0.6789 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.1708, allocations: 19.86 kB / 0.679 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.171, allocations: 199.6 kB / 0.6791 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.171, allocations: 0 / 0.6791 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1711, allocations: 3.938 kB / 0.6792 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.1711, allocations: 0 / 0.6792 GB, free: 7.422 MB / 0.5137 GB 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.0005166/0.1716, allocations: 430.8 kB / 0.6796 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1716, allocations: 8.031 kB / 0.6796 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1717, allocations: 12.84 kB / 0.6796 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1718, allocations: 172.3 kB / 0.6797 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1718, allocations: 4.375 kB / 0.6798 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1718, allocations: 12.36 kB / 0.6798 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.172, allocations: 89.91 kB / 0.6799 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1721, allocations: 0 / 0.6799 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1721, allocations: 0 / 0.6799 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1721, allocations: 0 / 0.6799 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1722, allocations: 43.97 kB / 0.6799 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1726, allocations: 276.9 kB / 0.6802 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1727, allocations: 62.48 kB / 0.6802 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.1728, allocations: 44.92 kB / 0.6803 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.1728, allocations: 0 / 0.6803 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1729, allocations: 38.55 kB / 0.6803 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1729, allocations: 0 / 0.6803 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003767/0.1732, allocations: 183.2 kB / 0.6805 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1733, allocations: 81.14 kB / 0.6805 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1734, allocations: 133.6 kB / 0.6807 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1734, allocations: 25.7 kB / 0.6807 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.1735, allocations: 88.08 kB / 0.6808 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1735, allocations: 15.89 kB / 0.6808 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1736, allocations: 17.72 kB / 0.6808 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1737, allocations: 314.8 kB / 0.6811 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1738, allocations: 63.95 kB / 0.6812 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1739, allocations: 55.97 kB / 0.6812 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1741, allocations: 197.8 kB / 0.6814 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1741, allocations: 0 / 0.6814 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002654/0.1744, allocations: 216.9 kB / 0.6816 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.1745, allocations: 63.39 kB / 0.6817 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1745, allocations: 4 kB / 0.6817 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1745, allocations: 0 / 0.6817 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.1746, allocations: 7.938 kB / 0.6817 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1746, allocations: 7.984 kB / 0.6817 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.539e-05/0.1746, allocations: 8 kB / 0.6817 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1746, allocations: 0 / 0.6817 GB, free: 4.508 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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 0.0001064/0.1747, allocations: 151.5 kB / 0.6819 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1748, allocations: 7.906 kB / 0.6819 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.1748, allocations: 3.906 kB / 0.6819 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1748, allocations: 7.938 kB / 0.6819 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1748, allocations: 64 / 0.6819 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1748, allocations: 8 kB / 0.6819 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.175, allocations: 173.6 kB / 0.682 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.175, allocations: 0 / 0.682 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.175, allocations: 4 kB / 0.6821 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.175, allocations: 3.984 kB / 0.6821 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-06/0.1751, allocations: 0 / 0.6821 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1751, allocations: 4 kB / 0.6821 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1751, allocations: 0 / 0.6821 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1753, allocations: 253.3 kB / 0.6823 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.1754, allocations: 81.02 kB / 0.6824 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1754, allocations: 7.984 kB / 0.6824 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.1755, allocations: 7.984 kB / 0.6824 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1756, allocations: 4 kB / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1756, allocations: 0 / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.1757, allocations: 99.27 kB / 0.6825 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1757, allocations: 0 / 0.6825 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003283/0.176, allocations: 59.92 kB / 0.6826 GB, free: 3.539 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0002787/0.1763, allocations: 155.2 kB / 0.6827 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.1767, allocations: 242.7 kB / 0.6829 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1767, allocations: 0 / 0.6829 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1768, allocations: 103.3 kB / 0.683 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.177, allocations: 14.19 kB / 0.683 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.1774, allocations: 203.2 kB / 0.6832 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1777, allocations: 0.6807 MB / 0.6839 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.1777, allocations: 11.44 kB / 0.6839 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1777, allocations: 0 / 0.6839 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of Templates: time 0.00327/0.181, allocations: 1.517 MB / 0.6854 GB, free: 0.5273 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)