Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003852/0.003857, allocations: 360.4 kB / 16.59 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.352/1.352, allocations: 165.8 MB / 183.1 MB, free: 5.906 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.114/4.114, allocations: 410.7 MB / 0.6001 GB, free: 37.12 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001922/0.001922, allocations: 191 kB / 0.6668 GB, free: 1.828 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 12.72 kB / 0.7429 GB, free: 73.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 67.46 MB / 0.8088 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00163/0.1335, allocations: 1.121 MB / 0.8098 GB, free: 16.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1349, allocations: 0.7618 MB / 0.8106 GB, free: 15.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.135, allocations: 0 / 0.8106 GB, free: 15.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.135, allocations: 3.938 kB / 0.8106 GB, free: 15.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.1351, allocations: 3.984 kB / 0.8106 GB, free: 15.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.1358, allocations: 129.4 kB / 0.8107 GB, free: 15.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.1359, allocations: 31.91 kB / 0.8108 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.136, allocations: 8 kB / 0.8108 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.136, allocations: 7.984 kB / 0.8108 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.1361, allocations: 19.92 kB / 0.8108 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1361, allocations: 3.984 kB / 0.8108 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1365, allocations: 179.7 kB / 0.811 GB, free: 14.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.1365, allocations: 11.94 kB / 0.811 GB, free: 14.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1366, allocations: 29.7 kB / 0.811 GB, free: 14.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1368, allocations: 140 kB / 0.8111 GB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1368, allocations: 0 / 0.8111 GB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1369, allocations: 0 / 0.8111 GB, free: 14.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1369, allocations: 0 / 0.8111 GB, free: 14.7 MB / 378.7 MB 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.0004502/0.1373, allocations: 422.5 kB / 0.8115 GB, free: 14.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1374, allocations: 12.03 kB / 0.8115 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.1374, allocations: 3.938 kB / 0.8116 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.1375, allocations: 173 kB / 0.8117 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1376, allocations: 7.953 kB / 0.8117 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1376, allocations: 4 kB / 0.8117 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1378, allocations: 81.55 kB / 0.8118 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1379, allocations: 0 / 0.8118 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1379, allocations: 0 / 0.8118 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1379, allocations: 0 / 0.8118 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1381, allocations: 55.95 kB / 0.8119 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1385, allocations: 280.8 kB / 0.8121 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1387, allocations: 62.48 kB / 0.8122 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1388, allocations: 52.91 kB / 0.8122 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.1389, allocations: 4 kB / 0.8122 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1389, allocations: 34.56 kB / 0.8123 GB, free: 13.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.1389, allocations: 0 / 0.8123 GB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000525/0.1394, allocations: 187.3 kB / 0.8125 GB, free: 13.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.1395, allocations: 77.11 kB / 0.8125 GB, free: 13.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1396, allocations: 133.7 kB / 0.8127 GB, free: 12.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1396, allocations: 29.7 kB / 0.8127 GB, free: 12.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.1397, allocations: 88.08 kB / 0.8128 GB, free: 12.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.1397, allocations: 7.906 kB / 0.8128 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.1397, allocations: 4 kB / 0.8128 GB, free: 12.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.1398, allocations: 314.8 kB / 0.8131 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.14, allocations: 59.97 kB / 0.8131 GB, free: 12.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1401, allocations: 64.11 kB / 0.8132 GB, free: 12.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1403, allocations: 123.3 kB / 0.8133 GB, free: 12.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1403, allocations: 0 / 0.8133 GB, free: 12.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004068/0.1407, allocations: 213.1 kB / 0.8135 GB, free: 11.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.1408, allocations: 63.41 kB / 0.8136 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1408, allocations: 3.938 kB / 0.8136 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1409, allocations: 11.97 kB / 0.8136 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.1409, allocations: 8 kB / 0.8136 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.141, allocations: 0 / 0.8136 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.141, allocations: 7.906 kB / 0.8136 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1411, allocations: 4 kB / 0.8136 GB, free: 11.88 MB / 378.7 MB 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 9.963e-05/0.1412, allocations: 155.4 kB / 0.8138 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1412, allocations: 4 kB / 0.8138 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.1413, allocations: 3.906 kB / 0.8138 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1413, allocations: 4 kB / 0.8138 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1413, allocations: 0 / 0.8138 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.1413, allocations: 89 kB / 0.8139 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1413, allocations: 4 kB / 0.8139 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1415, allocations: 4 kB / 0.8139 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.1416, allocations: 7.984 kB / 0.8139 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00037/0.1419, allocations: 286 kB / 0.8141 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003554/0.1423, allocations: 332.3 kB / 0.8145 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000145/0.1425, allocations: 59.89 kB / 0.8145 GB, free: 10.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.423e-05/0.1425, allocations: 95.64 kB / 0.8146 GB, free: 10.78 MB / 378.7 MB Notification: Performance of Backend: time 5.21e-07/0.1426, allocations: 4.062 kB / 0.8146 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008347/0.1434, allocations: 325.1 kB / 0.8149 GB, free: 10.42 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004171/0.1438, allocations: 0.6407 MB / 0.8155 GB, free: 9.727 MB / 378.7 MB Notification: Performance of Templates: time 0.005373/0.1492, allocations: 1.655 MB / 0.8172 GB, free: 8.082 MB / 378.7 MB