Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.00162/0.00162, allocations: 117 kB / 17.09 MB, free: 5.969 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.001799/0.001799, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.14 kB / 0.5584 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 76.18 MB / 0.6327 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002629/0.1627, allocations: 1.404 MB / 0.6341 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1641, allocations: 0.78 MB / 0.6349 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.1641, allocations: 0 / 0.6349 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.1642, allocations: 3.938 kB / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.1643, allocations: 11.94 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.165, allocations: 167.6 kB / 0.6351 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1651, allocations: 43.92 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.295e-05/0.1652, allocations: 15.97 kB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.1652, allocations: 16 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.1653, allocations: 19.91 kB / 0.6351 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1653, allocations: 4 kB / 0.6352 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.1657, allocations: 199.7 kB / 0.6353 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1657, allocations: 15.91 kB / 0.6354 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.1658, allocations: 23.88 kB / 0.6354 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.166, allocations: 191.5 kB / 0.6356 GB, free: 1.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1661, allocations: 0 / 0.6356 GB, free: 1.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1661, allocations: 0 / 0.6356 GB, free: 1.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1661, allocations: 4 kB / 0.6356 GB, free: 1.461 MB / 478.1 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.0005248/0.1666, allocations: 430.7 kB / 0.636 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1667, allocations: 12.02 kB / 0.636 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1667, allocations: 8.875 kB / 0.636 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1668, allocations: 168.3 kB / 0.6362 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1669, allocations: 4.359 kB / 0.6362 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.1669, allocations: 4.375 kB / 0.6362 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1671, allocations: 85.91 kB / 0.6362 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1671, allocations: 4 kB / 0.6363 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1671, allocations: 0 / 0.6363 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1671, allocations: 0 / 0.6363 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1672, allocations: 47.97 kB / 0.6363 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.1677, allocations: 272.9 kB / 0.6366 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1678, allocations: 62.55 kB / 0.6366 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.1679, allocations: 48.86 kB / 0.6367 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1679, allocations: 0 / 0.6367 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1679, allocations: 38.55 kB / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.168, allocations: 0 / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004242/0.1684, allocations: 183.2 kB / 0.6369 GB, free: 15.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.1684, allocations: 85.05 kB / 0.637 GB, free: 15.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1686, allocations: 125.8 kB / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1686, allocations: 29.73 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.1687, allocations: 88.14 kB / 0.6372 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.1687, allocations: 7.891 kB / 0.6372 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.1687, allocations: 21.72 kB / 0.6372 GB, free: 15.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1689, allocations: 314.8 kB / 0.6375 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.169, allocations: 63.89 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.1691, allocations: 55.97 kB / 0.6376 GB, free: 15.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1693, allocations: 201.8 kB / 0.6378 GB, free: 14.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1693, allocations: 0 / 0.6378 GB, free: 14.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002845/0.1696, allocations: 225 kB / 0.638 GB, free: 14.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.1697, allocations: 61.28 kB / 0.6381 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1697, allocations: 0 / 0.6381 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1697, allocations: 0 / 0.6381 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.1698, allocations: 7.984 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1698, allocations: 0 / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1699, allocations: 4 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1699, allocations: 4 kB / 0.6381 GB, free: 14.56 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.17, allocations: 159.4 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1701, allocations: 3.906 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.1701, allocations: 11.91 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1701, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1701, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1701, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1703, allocations: 177.6 kB / 0.6384 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1703, allocations: 3.938 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.1704, allocations: 11.98 kB / 0.6385 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1704, allocations: 0 / 0.6385 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1704, allocations: 4 kB / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1704, allocations: 0 / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1704, allocations: 0 / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1707, allocations: 249.2 kB / 0.6387 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.1707, allocations: 85.09 kB / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1708, allocations: 0 / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1708, allocations: 16.02 kB / 0.6388 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.171, allocations: 7.938 kB / 0.6388 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.171, allocations: 0 / 0.6388 GB, free: 13.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.1711, allocations: 95.7 kB / 0.6389 GB, free: 13.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1711, allocations: 0 / 0.6389 GB, free: 13.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1714, allocations: 67.92 kB / 0.639 GB, free: 13.57 MB / 494.1 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 (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.0002696/0.1717, allocations: 143.2 kB / 0.6391 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.172, allocations: 242.7 kB / 0.6393 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.172, allocations: 0 / 0.6393 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1722, allocations: 103.4 kB / 0.6394 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1724, allocations: 8.266 kB / 0.6394 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.1728, allocations: 207.1 kB / 0.6396 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.173, allocations: 0.6807 MB / 0.6403 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.1731, allocations: 7.438 kB / 0.6403 GB, free: 12.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1731, allocations: 4.062 kB / 0.6403 GB, free: 12.09 MB / 494.1 MB Notification: Performance of Templates: time 0.003303/0.1764, allocations: 1.499 MB / 0.6418 GB, free: 10.59 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)