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.00441/0.00441, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001019/0.001019, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.211/1.211, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.7776/0.7776, allocations: 143.1 MB / 433.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 63.84 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1299, allocations: 82.04 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002133/0.1321, allocations: 1.423 MB / 0.677 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1332, allocations: 0.7761 MB / 0.6778 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.1333, allocations: 0 / 0.6778 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.915e-05/0.1333, allocations: 3.938 kB / 0.6778 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.1334, allocations: 7.922 kB / 0.6778 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.134, allocations: 175.6 kB / 0.678 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1341, allocations: 47.95 kB / 0.678 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.698e-05/0.1342, allocations: 4 kB / 0.678 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.1342, allocations: 19.92 kB / 0.678 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.1343, allocations: 23.92 kB / 0.6781 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1343, allocations: 4 kB / 0.6781 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.1346, allocations: 203.7 kB / 0.6783 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.1346, allocations: 11.92 kB / 0.6783 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1347, allocations: 19.88 kB / 0.6783 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.1349, allocations: 199.6 kB / 0.6785 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.135, allocations: 0 / 0.6785 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.135, allocations: 0 / 0.6785 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.135, allocations: 0 / 0.6785 GB, free: 7.438 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.0004813/0.1355, allocations: 434.8 kB / 0.6789 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1355, allocations: 8.031 kB / 0.6789 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1355, allocations: 8.844 kB / 0.6789 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1357, allocations: 168.3 kB / 0.6791 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1357, allocations: 4.375 kB / 0.6791 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1357, allocations: 4.312 kB / 0.6791 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1359, allocations: 85.92 kB / 0.6792 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1359, allocations: 0 / 0.6792 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1359, allocations: 0 / 0.6792 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1359, allocations: 0 / 0.6792 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1361, allocations: 55.95 kB / 0.6792 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.1365, allocations: 280.9 kB / 0.6795 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1366, allocations: 58.58 kB / 0.6795 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.1367, allocations: 48.81 kB / 0.6796 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1368, allocations: 0 / 0.6796 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1368, allocations: 34.56 kB / 0.6796 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1368, allocations: 0 / 0.6796 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003974/0.1372, allocations: 187.2 kB / 0.6798 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.1373, allocations: 81.11 kB / 0.6799 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.1374, allocations: 133.6 kB / 0.68 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1374, allocations: 25.7 kB / 0.68 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1374, allocations: 84.14 kB / 0.6801 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.1375, allocations: 11.94 kB / 0.6801 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1375, allocations: 25.7 kB / 0.6801 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1376, allocations: 310.8 kB / 0.6804 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.1377, allocations: 59.91 kB / 0.6805 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1378, allocations: 59.95 kB / 0.6805 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1381, allocations: 197.8 kB / 0.6807 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1381, allocations: 3.938 kB / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002814/0.1384, allocations: 216.9 kB / 0.6809 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.1384, allocations: 71.39 kB / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1384, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1385, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.1385, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1385, allocations: 4 kB / 0.681 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1386, allocations: 7.984 kB / 0.681 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1386, allocations: 0 / 0.681 GB, free: 4.531 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.0001155/0.1387, allocations: 155.4 kB / 0.6812 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.1387, allocations: 11.89 kB / 0.6812 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.1388, allocations: 3.906 kB / 0.6812 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1388, allocations: 4 kB / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1388, allocations: 0 / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1388, allocations: 0 / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.139, allocations: 173.6 kB / 0.6814 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.139, allocations: 240 / 0.6814 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.139, allocations: 4 kB / 0.6814 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.139, allocations: 64 / 0.6814 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.139, allocations: 7.938 kB / 0.6814 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.139, allocations: 8 kB / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.139, allocations: 3.984 kB / 0.6814 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1393, allocations: 249.1 kB / 0.6816 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1393, allocations: 85.02 kB / 0.6817 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1394, allocations: 0 / 0.6817 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.1394, allocations: 4 kB / 0.6817 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1395, allocations: 15.92 kB / 0.6817 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1396, allocations: 4.031 kB / 0.6817 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.1396, allocations: 95.7 kB / 0.6818 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1396, allocations: 0 / 0.6818 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003151/0.1399, allocations: 63.92 kB / 0.6819 GB, free: 3.551 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.0002619/0.1402, allocations: 147.2 kB / 0.682 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1405, allocations: 242.7 kB / 0.6822 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1405, allocations: 4 kB / 0.6823 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1407, allocations: 103.4 kB / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1409, allocations: 8.75 kB / 0.6824 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.1412, allocations: 173.4 kB / 0.6825 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1414, allocations: 0.6846 MB / 0.6832 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.1415, allocations: 0 / 0.6832 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.1415, allocations: 11.44 kB / 0.6832 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1415, allocations: 0 / 0.6832 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of Templates: time 0.003762/0.1453, allocations: 1.808 MB / 0.685 GB, free: 328 kB / 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)