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.0008161/0.0008162, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008587/0.0008587, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 223.3 MB / 240 MB, free: 5.398 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.8468/0.8468, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.0002539, allocations: 11.94 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1219, allocations: 83.41 MB / 0.5973 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001285/0.1232, allocations: 1.143 MB / 0.5984 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.1242, allocations: 0.7262 MB / 0.5991 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.1243, allocations: 0 / 0.5991 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.1243, allocations: 7.938 kB / 0.5991 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.1244, allocations: 3.984 kB / 0.5991 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.1248, allocations: 118.9 kB / 0.5992 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.1249, allocations: 43.91 kB / 0.5993 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.125, allocations: 4 kB / 0.5993 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.125, allocations: 15.97 kB / 0.5993 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.1251, allocations: 15.92 kB / 0.5993 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.1251, allocations: 0 / 0.5993 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.1253, allocations: 179.7 kB / 0.5995 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.1254, allocations: 11.94 kB / 0.5995 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1254, allocations: 25.7 kB / 0.5995 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1256, allocations: 135.8 kB / 0.5996 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1256, allocations: 4 kB / 0.5996 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1256, allocations: 0 / 0.5996 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.1256, allocations: 0 / 0.5996 GB, free: 5.598 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.0003857/0.126, allocations: 426.9 kB / 0.6 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.126, allocations: 16.02 kB / 0.6 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1261, allocations: 7.859 kB / 0.6001 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.1262, allocations: 167 kB / 0.6002 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1262, allocations: 0 / 0.6002 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.1262, allocations: 4 kB / 0.6002 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1264, allocations: 85.59 kB / 0.6003 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1264, allocations: 0 / 0.6003 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1264, allocations: 4 kB / 0.6003 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1264, allocations: 0 / 0.6003 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/0.1265, allocations: 47.97 kB / 0.6003 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.1268, allocations: 284.8 kB / 0.6006 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1269, allocations: 62.48 kB / 0.6007 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.127, allocations: 44.92 kB / 0.6007 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1271, allocations: 3.984 kB / 0.6007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.1271, allocations: 42.5 kB / 0.6008 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1271, allocations: 0 / 0.6008 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000333/0.1274, allocations: 187.5 kB / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1275, allocations: 81.06 kB / 0.601 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.1276, allocations: 125.8 kB / 0.6011 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1276, allocations: 29.7 kB / 0.6012 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1276, allocations: 92.08 kB / 0.6013 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1277, allocations: 23.75 kB / 0.6013 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1277, allocations: 0 / 0.6013 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.1278, allocations: 314.8 kB / 0.6016 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.1278, allocations: 59.97 kB / 0.6016 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.1279, allocations: 59.94 kB / 0.6017 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1281, allocations: 123.4 kB / 0.6018 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1281, allocations: 4 kB / 0.6018 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002485/0.1283, allocations: 217 kB / 0.602 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.1284, allocations: 63.39 kB / 0.6021 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1284, allocations: 4 kB / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.1284, allocations: 0 / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.1284, allocations: 4 kB / 0.6021 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1285, allocations: 3.953 kB / 0.6021 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.1285, allocations: 19.89 kB / 0.6021 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1285, allocations: 4 kB / 0.6021 GB, free: 2.762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.1286, allocations: 147.5 kB / 0.6023 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1286, allocations: 4 kB / 0.6023 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.1287, allocations: 7.906 kB / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1287, allocations: 0 / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1287, allocations: 0 / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1287, allocations: 3.953 kB / 0.6023 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1288, allocations: 173.6 kB / 0.6024 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1288, allocations: 4 kB / 0.6024 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.1289, allocations: 4 kB / 0.6024 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1289, allocations: 0 / 0.6024 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1289, allocations: 0 / 0.6024 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1289, allocations: 3.984 kB / 0.6025 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1289, allocations: 4 kB / 0.6025 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1291, allocations: 257 kB / 0.6027 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.1292, allocations: 85.02 kB / 0.6028 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1292, allocations: 4 kB / 0.6028 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.1293, allocations: 4 kB / 0.6028 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.1294, allocations: 7.984 kB / 0.6028 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1294, allocations: 3.938 kB / 0.6028 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.1294, allocations: 99.27 kB / 0.6029 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1294, allocations: 3.938 kB / 0.6029 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002768/0.1297, allocations: 60.02 kB / 0.603 GB, free: 1.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.1299, allocations: 159.2 kB / 0.6031 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1302, allocations: 238.7 kB / 0.6033 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1302, allocations: 0 / 0.6033 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1303, allocations: 103.4 kB / 0.6034 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.1305, allocations: 13.44 kB / 0.6034 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.1308, allocations: 180.6 kB / 0.6036 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.131, allocations: 0.6887 MB / 0.6043 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.28e-05/0.131, allocations: 0 / 0.6043 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.1311, allocations: 7.438 kB / 0.6043 GB, free: 328 kB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1311, allocations: 4 kB / 0.6043 GB, free: 324 kB / 0.4981 GB Notification: Performance of Templates: time 0.214/0.3451, allocations: 1.624 MB / 0.6059 GB, free: 40.57 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)