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.001458/0.001462, allocations: 184.8 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6793/0.6793, allocations: 82.93 MB / 99.42 MB, free: 3.344 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 325.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001661/0.001661, allocations: 82.94 kB / 393.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004469, allocations: 16 kB / 471.6 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/0.08712, allocations: 67.44 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001738/0.0889, allocations: 1.129 MB / 0.5275 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.09038, allocations: 0.7629 MB / 0.5282 GB, free: 13.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.09043, allocations: 0 / 0.5282 GB, free: 13.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.0905, allocations: 11.92 kB / 0.5282 GB, free: 13.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.09055, allocations: 0 / 0.5282 GB, free: 13.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.09115, allocations: 118.3 kB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.09123, allocations: 23.91 kB / 0.5284 GB, free: 13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.0913, allocations: 12 kB / 0.5284 GB, free: 12.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.09136, allocations: 15.92 kB / 0.5284 GB, free: 12.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.09142, allocations: 11.98 kB / 0.5284 GB, free: 12.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.09145, allocations: 4 kB / 0.5284 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.0918, allocations: 167.7 kB / 0.5286 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.09184, allocations: 7.984 kB / 0.5286 GB, free: 12.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.0919, allocations: 37.64 kB / 0.5286 GB, free: 12.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.09215, allocations: 132 kB / 0.5287 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.599e-06/0.09217, allocations: 0 / 0.5287 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.922e-06/0.09218, allocations: 4 kB / 0.5287 GB, free: 12.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.0922, allocations: 0 / 0.5287 GB, free: 12.61 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.0005249/0.09274, allocations: 426.6 kB / 0.5291 GB, free: 12.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.09278, allocations: 8.031 kB / 0.5291 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.09283, allocations: 4 kB / 0.5292 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.09298, allocations: 163.1 kB / 0.5293 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.09301, allocations: 4 kB / 0.5293 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.09305, allocations: 15.88 kB / 0.5293 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.09328, allocations: 77.67 kB / 0.5294 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.271e-06/0.09331, allocations: 0 / 0.5294 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.09333, allocations: 3.984 kB / 0.5294 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-06/0.09334, allocations: 0 / 0.5294 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.09351, allocations: 55.84 kB / 0.5295 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.09398, allocations: 288.8 kB / 0.5297 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.09414, allocations: 54.56 kB / 0.5298 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.09417, allocations: 0 / 0.5298 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.09421, allocations: 34.59 kB / 0.5298 GB, free: 11.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.875e-06/0.09422, allocations: 0 / 0.5298 GB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005629/0.09479, allocations: 276.4 kB / 0.5301 GB, free: 11.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.09487, allocations: 81.09 kB / 0.5302 GB, free: 10.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.09502, allocations: 133.6 kB / 0.5303 GB, free: 10.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.09505, allocations: 25.7 kB / 0.5303 GB, free: 10.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.09513, allocations: 92.12 kB / 0.5304 GB, free: 10.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.09516, allocations: 3.906 kB / 0.5304 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-06/0.09517, allocations: 0 / 0.5304 GB, free: 10.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.09534, allocations: 322.9 kB / 0.5307 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.0955, allocations: 59.95 kB / 0.5308 GB, free: 10.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.09565, allocations: 59.97 kB / 0.5308 GB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.09584, allocations: 111.4 kB / 0.5309 GB, free: 10.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-06/0.09586, allocations: 0 / 0.5309 GB, free: 10.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004165/0.09628, allocations: 228.9 kB / 0.5312 GB, free: 9.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.09637, allocations: 67.39 kB / 0.5312 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.469e-06/0.09639, allocations: 0 / 0.5312 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.09641, allocations: 0 / 0.5312 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.09648, allocations: 4 kB / 0.5312 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.783e-06/0.0965, allocations: 3.984 kB / 0.5312 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.09658, allocations: 11.91 kB / 0.5312 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.0966, allocations: 0 / 0.5312 GB, free: 9.75 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 0.0001445/0.09676, allocations: 151.5 kB / 0.5314 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.09682, allocations: 11.89 kB / 0.5314 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.09685, allocations: 3.906 kB / 0.5314 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-06/0.09686, allocations: 4 kB / 0.5314 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.323e-06/0.09687, allocations: 0 / 0.5314 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.09688, allocations: 64 / 0.5314 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.09712, allocations: 177.5 kB / 0.5316 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-06/0.09714, allocations: 0 / 0.5316 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.0972, allocations: 4 kB / 0.5316 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-06/0.09722, allocations: 3.953 kB / 0.5316 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.09724, allocations: 11.98 kB / 0.5316 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-06/0.09726, allocations: 0 / 0.5316 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-06/0.09726, allocations: 0 / 0.5316 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.09766, allocations: 249.1 kB / 0.5318 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.09773, allocations: 85.25 kB / 0.5319 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.09777, allocations: 3.953 kB / 0.5319 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.09789, allocations: 19.95 kB / 0.5319 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.098, allocations: 3.984 kB / 0.5319 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.09802, allocations: 4 kB / 0.5319 GB, free: 8.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.285e-05/0.09812, allocations: 95.27 kB / 0.532 GB, free: 8.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.83e-07/0.09813, allocations: 4 kB / 0.532 GB, free: 8.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.09857, allocations: 55.98 kB / 0.5321 GB, free: 8.773 MB / 378.7 MB 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.0003248/0.0989, allocations: 155.2 kB / 0.5322 GB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.09935, allocations: 246.7 kB / 0.5325 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.09937, allocations: 0 / 0.5325 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.09955, allocations: 103.4 kB / 0.5326 GB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.09973, allocations: 4 kB / 0.5326 GB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.1002, allocations: 180.7 kB / 0.5327 GB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1005, allocations: 0.6926 MB / 0.5334 GB, free: 7.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.1006, allocations: 0 / 0.5334 GB, free: 7.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.1006, allocations: 11.44 kB / 0.5334 GB, free: 7.297 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1006, allocations: 0 / 0.5334 GB, free: 7.297 MB / 378.7 MB Notification: Performance of Templates: time 0.005031/0.1056, allocations: 1.622 MB / 0.535 GB, free: 5.691 MB / 378.7 MB