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.001276/0.001276, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001311/0.001311, allocations: 187 kB / 17.34 MB, free: 5.723 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.09 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.8446/0.8446, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.86 kB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 82.04 MB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003101/0.1787, allocations: 1.426 MB / 0.6777 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1802, allocations: 0.776 MB / 0.6785 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.1803, allocations: 4 kB / 0.6785 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.315e-05/0.1804, allocations: 0 / 0.6785 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.1805, allocations: 3.938 kB / 0.6785 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008078/0.1813, allocations: 182.7 kB / 0.6786 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1814, allocations: 39.98 kB / 0.6787 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.1815, allocations: 11.98 kB / 0.6787 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.1816, allocations: 11.94 kB / 0.6787 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.1817, allocations: 27.91 kB / 0.6787 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1817, allocations: 7.938 kB / 0.6787 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.1821, allocations: 203.7 kB / 0.6789 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1821, allocations: 7.984 kB / 0.6789 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.1822, allocations: 19.88 kB / 0.679 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1825, allocations: 195.6 kB / 0.6792 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1826, allocations: 0 / 0.6792 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1826, allocations: 0 / 0.6792 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1826, allocations: 0 / 0.6792 GB, free: 7.496 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.0006026/0.1832, allocations: 430.8 kB / 0.6796 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1832, allocations: 12.03 kB / 0.6796 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.1833, allocations: 4.844 kB / 0.6796 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1834, allocations: 172.2 kB / 0.6797 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1835, allocations: 384 / 0.6797 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1835, allocations: 8.359 kB / 0.6798 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1837, allocations: 85.92 kB / 0.6798 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1837, allocations: 0 / 0.6798 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1837, allocations: 0 / 0.6798 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1838, allocations: 4 kB / 0.6798 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1839, allocations: 51.95 kB / 0.6799 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1843, allocations: 268.9 kB / 0.6801 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1845, allocations: 66.47 kB / 0.6802 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.1846, allocations: 44.91 kB / 0.6802 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1846, allocations: 7.938 kB / 0.6803 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1846, allocations: 38.56 kB / 0.6803 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1846, allocations: 0 / 0.6803 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004056/0.185, allocations: 183.2 kB / 0.6805 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1851, allocations: 81.11 kB / 0.6805 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1852, allocations: 129.6 kB / 0.6807 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1853, allocations: 25.7 kB / 0.6807 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1853, allocations: 92.08 kB / 0.6808 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.1853, allocations: 11.92 kB / 0.6808 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.1854, allocations: 25.7 kB / 0.6808 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.1855, allocations: 318.8 kB / 0.6811 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.995e-05/0.1856, allocations: 55.97 kB / 0.6812 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.1857, allocations: 59.95 kB / 0.6812 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.186, allocations: 193.8 kB / 0.6814 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.186, allocations: 3.938 kB / 0.6814 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002871/0.1863, allocations: 225 kB / 0.6816 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.1863, allocations: 63.39 kB / 0.6817 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1863, allocations: 3.984 kB / 0.6817 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1864, allocations: 0 / 0.6817 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.1864, allocations: 7.938 kB / 0.6817 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1864, allocations: 0 / 0.6817 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1865, allocations: 7.984 kB / 0.6817 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1865, allocations: 8 kB / 0.6817 GB, free: 4.57 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.0001144/0.1866, allocations: 151.5 kB / 0.6819 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1867, allocations: 7.906 kB / 0.6819 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.1867, allocations: 7.891 kB / 0.6819 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1867, allocations: 0 / 0.6819 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1867, allocations: 0 / 0.6819 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1867, allocations: 0 / 0.6819 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1869, allocations: 177.6 kB / 0.6821 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1869, allocations: 0 / 0.6821 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.187, allocations: 0 / 0.6821 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.187, allocations: 4 kB / 0.6821 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.187, allocations: 0 / 0.6821 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.187, allocations: 4 kB / 0.6821 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.187, allocations: 0 / 0.6821 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1873, allocations: 253.1 kB / 0.6823 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.1873, allocations: 85 kB / 0.6824 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1874, allocations: 0 / 0.6824 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.1874, allocations: 4 kB / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.1876, allocations: 7.984 kB / 0.6824 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.1876, allocations: 8.031 kB / 0.6824 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.1877, allocations: 99.2 kB / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1877, allocations: 0 / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003371/0.188, allocations: 63.94 kB / 0.6826 GB, free: 3.605 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.0003162/0.1883, allocations: 155.1 kB / 0.6827 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.1887, allocations: 234.7 kB / 0.6829 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1887, allocations: 4 kB / 0.6829 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1888, allocations: 107.3 kB / 0.683 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1891, allocations: 11.94 kB / 0.683 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.1895, allocations: 195.2 kB / 0.6832 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1898, allocations: 0.6846 MB / 0.6839 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.1898, allocations: 11.44 kB / 0.6839 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.1898, allocations: 0 / 0.6839 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of Templates: time 0.003637/0.1934, allocations: 1.515 MB / 0.6854 GB, free: 0.5977 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)