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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 111 kB / 17.33 MB, free: 5.043 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.001232/0.001232, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.538/1.538, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8863/0.8863, allocations: 128.4 MB / 426.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 64.52 kB / 0.5912 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1502, allocations: 83.26 MB / 0.6725 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002607/0.1528, allocations: 1.426 MB / 0.6739 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1541, allocations: 0.7877 MB / 0.6746 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.1542, allocations: 4 kB / 0.6746 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.825e-05/0.1542, allocations: 0 / 0.6746 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.1543, allocations: 7.938 kB / 0.6747 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.1549, allocations: 175.6 kB / 0.6748 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.155, allocations: 39.92 kB / 0.6749 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.1551, allocations: 7.984 kB / 0.6749 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.1551, allocations: 11.94 kB / 0.6749 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1552, allocations: 19.97 kB / 0.6749 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1552, allocations: 4 kB / 0.6749 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.1556, allocations: 215.7 kB / 0.6751 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.1556, allocations: 11.92 kB / 0.6751 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.1557, allocations: 19.88 kB / 0.6751 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.156, allocations: 191.5 kB / 0.6753 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.156, allocations: 0 / 0.6753 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.156, allocations: 0 / 0.6753 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.156, allocations: 3.938 kB / 0.6753 GB, free: 0.9883 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.0005788/0.1566, allocations: 434.4 kB / 0.6757 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1566, allocations: 12.56 kB / 0.6757 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1566, allocations: 12.92 kB / 0.6758 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1568, allocations: 172.2 kB / 0.6759 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1568, allocations: 4.375 kB / 0.6759 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1568, allocations: 3.938 kB / 0.6759 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.157, allocations: 81.66 kB / 0.676 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.157, allocations: 0 / 0.676 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.157, allocations: 0 / 0.676 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.157, allocations: 0 / 0.676 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1571, allocations: 43.97 kB / 0.6761 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.1576, allocations: 288.8 kB / 0.6763 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1577, allocations: 54.55 kB / 0.6764 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.1578, allocations: 40.92 kB / 0.6764 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1578, allocations: 4 kB / 0.6764 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1578, allocations: 34.55 kB / 0.6765 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1578, allocations: 4 kB / 0.6765 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004196/0.1582, allocations: 183.2 kB / 0.6766 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.1583, allocations: 85.11 kB / 0.6767 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1584, allocations: 125.8 kB / 0.6768 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1584, allocations: 25.7 kB / 0.6769 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.1585, allocations: 92.09 kB / 0.6769 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1585, allocations: 7.938 kB / 0.677 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.1586, allocations: 21.72 kB / 0.677 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1587, allocations: 322.8 kB / 0.6773 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1588, allocations: 59.95 kB / 0.6773 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.1589, allocations: 55.97 kB / 0.6774 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1592, allocations: 194 kB / 0.6776 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1592, allocations: 0 / 0.6776 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003116/0.1595, allocations: 217 kB / 0.6778 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.1595, allocations: 67.39 kB / 0.6779 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1595, allocations: 4 kB / 0.6779 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1596, allocations: 240 / 0.6779 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.1596, allocations: 7.938 kB / 0.6779 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1596, allocations: 3.984 kB / 0.6779 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.1597, allocations: 11.89 kB / 0.6779 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1597, allocations: 4 kB / 0.6779 GB, free: 14.07 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.0001244/0.1598, allocations: 151.5 kB / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.1598, allocations: 3.984 kB / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.1599, allocations: 11.91 kB / 0.678 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1599, allocations: 0 / 0.678 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1599, allocations: 3.938 kB / 0.678 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1599, allocations: 0 / 0.678 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.1601, allocations: 173.6 kB / 0.6782 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1601, allocations: 4 kB / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.1601, allocations: 0 / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1601, allocations: 0 / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1601, allocations: 7.984 kB / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1601, allocations: 0 / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1601, allocations: 0 / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1604, allocations: 257 kB / 0.6785 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.1605, allocations: 85.06 kB / 0.6785 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1605, allocations: 0 / 0.6785 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.1605, allocations: 7.984 kB / 0.6786 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/0.1606, allocations: 8 kB / 0.6786 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1606, allocations: 4 kB / 0.6786 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.1607, allocations: 99.73 kB / 0.6787 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1607, allocations: 0 / 0.6787 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003217/0.161, allocations: 63.86 kB / 0.6787 GB, free: 13.1 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.000252/0.1613, allocations: 151.1 kB / 0.6789 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1616, allocations: 234.7 kB / 0.6791 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1616, allocations: 0 / 0.6791 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1618, allocations: 103.3 kB / 0.6792 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.162, allocations: 15.83 kB / 0.6792 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.1623, allocations: 169.5 kB / 0.6794 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1626, allocations: 0.6846 MB / 0.68 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.1627, allocations: 0 / 0.68 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.1627, allocations: 11.44 kB / 0.68 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1627, allocations: 0 / 0.68 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.00459/0.1673, allocations: 1.775 MB / 0.6818 GB, free: 9.891 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (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) [Timeout 480]