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.001298/0.001298, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001256/0.001256, allocations: 187 kB / 17.34 MB, free: 5.715 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.343/1.343, 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.8625/0.8625, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 60.95 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00247/0.154, allocations: 1.43 MB / 0.6777 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1552, allocations: 0.78 MB / 0.6785 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.1552, allocations: 0 / 0.6785 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.483e-05/0.1553, allocations: 3.938 kB / 0.6785 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.1553, allocations: 0 / 0.6785 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.1559, allocations: 179.5 kB / 0.6787 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.156, allocations: 39.97 kB / 0.6787 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.1561, allocations: 11.98 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.1561, allocations: 11.94 kB / 0.6787 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.1562, allocations: 23.91 kB / 0.6787 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1562, allocations: 4 kB / 0.6787 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.1565, allocations: 199.7 kB / 0.6789 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1565, allocations: 15.98 kB / 0.679 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.1566, allocations: 15.88 kB / 0.679 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1568, allocations: 199.4 kB / 0.6792 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1568, allocations: 0 / 0.6792 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1568, allocations: 0 / 0.6792 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1568, allocations: 0 / 0.6792 GB, free: 7.406 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.000519/0.1574, allocations: 438.4 kB / 0.6796 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1574, allocations: 8.031 kB / 0.6796 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.1574, allocations: 8.891 kB / 0.6796 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1576, allocations: 172.3 kB / 0.6798 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1576, allocations: 4.375 kB / 0.6798 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1576, allocations: 4.375 kB / 0.6798 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1578, allocations: 81.97 kB / 0.6798 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1578, allocations: 4 kB / 0.6798 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1578, allocations: 0 / 0.6798 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1578, allocations: 3.984 kB / 0.6798 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1579, allocations: 47.91 kB / 0.6799 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.1583, allocations: 284.8 kB / 0.6802 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1584, allocations: 58.48 kB / 0.6802 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.1585, allocations: 44.91 kB / 0.6803 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.1585, allocations: 0 / 0.6803 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1585, allocations: 38.5 kB / 0.6803 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1585, allocations: 0 / 0.6803 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000387/0.1589, allocations: 187.3 kB / 0.6805 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.159, allocations: 81.11 kB / 0.6806 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1591, allocations: 129.6 kB / 0.6807 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1591, allocations: 25.7 kB / 0.6807 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1592, allocations: 88.14 kB / 0.6808 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1592, allocations: 3.953 kB / 0.6808 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.1592, allocations: 21.72 kB / 0.6808 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1593, allocations: 326.9 kB / 0.6811 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1594, allocations: 51.97 kB / 0.6812 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1596, allocations: 63.89 kB / 0.6812 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1598, allocations: 201.8 kB / 0.6814 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1598, allocations: 0 / 0.6814 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002903/0.1601, allocations: 217 kB / 0.6816 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.1601, allocations: 63.39 kB / 0.6817 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1601, allocations: 0 / 0.6817 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1601, allocations: 4 kB / 0.6817 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.155e-05/0.1602, allocations: 4 kB / 0.6817 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1602, allocations: 0 / 0.6817 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1602, allocations: 7.938 kB / 0.6817 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1603, allocations: 7.984 kB / 0.6817 GB, free: 4.488 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.0001122/0.1604, allocations: 147.5 kB / 0.6819 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1604, allocations: 3.953 kB / 0.6819 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.1604, allocations: 15.89 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1604, allocations: 4 kB / 0.6819 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1604, allocations: 0 / 0.6819 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1604, allocations: 3.938 kB / 0.6819 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1606, allocations: 181.6 kB / 0.6821 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1606, allocations: 0 / 0.6821 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.1606, allocations: 4 kB / 0.6821 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1606, allocations: 0 / 0.6821 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1606, allocations: 4 kB / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1606, allocations: 0 / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1607, allocations: 0 / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1609, allocations: 245.1 kB / 0.6823 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.161, allocations: 89.05 kB / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.161, allocations: 0 / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1611, allocations: 8 kB / 0.6824 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.1612, allocations: 11.92 kB / 0.6824 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1612, allocations: 0 / 0.6824 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.323e-05/0.1612, allocations: 95.27 kB / 0.6825 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1612, allocations: 4.031 kB / 0.6825 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003056/0.1615, allocations: 55.94 kB / 0.6826 GB, free: 3.523 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.0002633/0.1618, allocations: 163 kB / 0.6827 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.1621, allocations: 226.7 kB / 0.6829 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1621, allocations: 0 / 0.6829 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1623, allocations: 107.4 kB / 0.683 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.1625, allocations: 13.22 kB / 0.683 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.1628, allocations: 201.3 kB / 0.6832 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1631, allocations: 0.6885 MB / 0.6839 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.1632, allocations: 11.44 kB / 0.6839 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1632, allocations: 0 / 0.6839 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of Templates: time 0.003318/0.1665, allocations: 1.529 MB / 0.6854 GB, free: 0.5039 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)