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.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.9678/0.9678, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.5142 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.145, allocations: 82.05 MB / 0.5943 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002448/0.1475, allocations: 1.414 MB / 0.5957 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1488, allocations: 0.7762 MB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.1488, allocations: 4 kB / 0.5964 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.1489, allocations: 0 / 0.5964 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.1489, allocations: 3.938 kB / 0.5964 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.1495, allocations: 179 kB / 0.5966 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.1496, allocations: 51.84 kB / 0.5967 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.223e-05/0.1497, allocations: 11.94 kB / 0.5967 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.1497, allocations: 11.98 kB / 0.5967 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.1498, allocations: 19.92 kB / 0.5967 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1498, allocations: 4 kB / 0.5967 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.1501, allocations: 199.7 kB / 0.5969 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.1502, allocations: 11.98 kB / 0.5969 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.1502, allocations: 19.88 kB / 0.5969 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1505, allocations: 195.8 kB / 0.5971 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1505, allocations: 0 / 0.5971 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1505, allocations: 0 / 0.5971 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.1505, allocations: 0 / 0.5971 GB, free: 6.684 MB / 0.4981 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.0004471/0.1509, allocations: 434.7 kB / 0.5975 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.151, allocations: 8.031 kB / 0.5975 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.151, allocations: 8.938 kB / 0.5975 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1511, allocations: 176.2 kB / 0.5977 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1512, allocations: 384 / 0.5977 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1512, allocations: 4.375 kB / 0.5977 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1514, allocations: 77.98 kB / 0.5978 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1514, allocations: 0 / 0.5978 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1514, allocations: 0 / 0.5978 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1514, allocations: 0 / 0.5978 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1515, allocations: 51.95 kB / 0.5978 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1519, allocations: 276.8 kB / 0.5981 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.152, allocations: 58.55 kB / 0.5982 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.1521, allocations: 44.91 kB / 0.5982 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.1521, allocations: 0 / 0.5982 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1521, allocations: 34.56 kB / 0.5982 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1521, allocations: 4 kB / 0.5982 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.00036/0.1525, allocations: 191.2 kB / 0.5984 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1526, allocations: 81.11 kB / 0.5985 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.1527, allocations: 121.8 kB / 0.5986 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1527, allocations: 25.7 kB / 0.5986 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.1527, allocations: 92.08 kB / 0.5987 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1528, allocations: 7.844 kB / 0.5987 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1528, allocations: 29.73 kB / 0.5988 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.1529, allocations: 318.8 kB / 0.5991 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.153, allocations: 55.97 kB / 0.5991 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.1531, allocations: 55.95 kB / 0.5992 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.1533, allocations: 201.8 kB / 0.5994 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1533, allocations: 0 / 0.5994 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002728/0.1536, allocations: 220.9 kB / 0.5996 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.1537, allocations: 69.89 kB / 0.5996 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1537, allocations: 3.938 kB / 0.5996 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1537, allocations: 240 / 0.5996 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.1538, allocations: 4 kB / 0.5996 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1538, allocations: 0 / 0.5996 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.1538, allocations: 7.984 kB / 0.5997 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1538, allocations: 4 kB / 0.5997 GB, free: 3.781 MB / 0.4981 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.0001052/0.154, allocations: 147.5 kB / 0.5998 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.154, allocations: 11.88 kB / 0.5998 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.154, allocations: 15.91 kB / 0.5998 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.154, allocations: 0 / 0.5998 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.154, allocations: 4.062 kB / 0.5998 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.154, allocations: 0 / 0.5998 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1542, allocations: 173.6 kB / 0.6 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1542, allocations: 4 kB / 0.6 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.1543, allocations: 0 / 0.6 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1543, allocations: 0 / 0.6 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1543, allocations: 4 kB / 0.6 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1543, allocations: 0 / 0.6 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1543, allocations: 4 kB / 0.6 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.1546, allocations: 257 kB / 0.6003 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.1546, allocations: 77.11 kB / 0.6003 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1546, allocations: 4 kB / 0.6003 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.1547, allocations: 4 kB / 0.6003 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1548, allocations: 7.984 kB / 0.6003 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1548, allocations: 0 / 0.6003 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.1549, allocations: 107.7 kB / 0.6004 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1549, allocations: 0 / 0.6004 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003127/0.1552, allocations: 55.98 kB / 0.6005 GB, free: 2.809 MB / 0.4981 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.000234/0.1555, allocations: 151.2 kB / 0.6006 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.1558, allocations: 238.7 kB / 0.6009 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1558, allocations: 0 / 0.6009 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1559, allocations: 107.4 kB / 0.601 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1561, allocations: 12.27 kB / 0.601 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.1565, allocations: 177.3 kB / 0.6012 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1567, allocations: 0.6924 MB / 0.6018 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.1568, allocations: 0 / 0.6018 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1568, allocations: 7.5 kB / 0.6018 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1568, allocations: 4 kB / 0.6018 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.2197/0.3765, allocations: 1.764 MB / 0.6036 GB, free: 44.49 MB / 0.4981 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)