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.0009282/0.0009282, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009832/0.0009832, allocations: 182.9 kB / 16.92 MB, free: 6.914 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6894/0.6894, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 9.906 kB / 495.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 77.53 MB / 0.56 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001457/0.1299, allocations: 1.146 MB / 0.5611 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1312, allocations: 0.7921 MB / 0.5619 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.1312, allocations: 0 / 0.5619 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.637e-05/0.1313, allocations: 3.938 kB / 0.5619 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.1313, allocations: 4 kB / 0.5619 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.1319, allocations: 131.8 kB / 0.562 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.984e-05/0.132, allocations: 35.92 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.991e-05/0.132, allocations: 7.984 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.1321, allocations: 11.94 kB / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.1321, allocations: 19.92 kB / 0.5621 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1322, allocations: 4 kB / 0.5621 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.1325, allocations: 191.7 kB / 0.5623 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.1325, allocations: 7.984 kB / 0.5623 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.1326, allocations: 41.58 kB / 0.5623 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1328, allocations: 187.6 kB / 0.5625 GB, free: 6.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1328, allocations: 0 / 0.5625 GB, free: 6.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1329, allocations: 0 / 0.5625 GB, free: 6.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1329, allocations: 0 / 0.5625 GB, free: 6.469 MB / 430.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.0004197/0.1333, allocations: 423.1 kB / 0.5629 GB, free: 5.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1333, allocations: 16.03 kB / 0.5629 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1334, allocations: 4.844 kB / 0.5629 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1335, allocations: 176.2 kB / 0.5631 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1335, allocations: 8.312 kB / 0.5631 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1335, allocations: 4.375 kB / 0.5631 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1337, allocations: 77.98 kB / 0.5632 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.1337, allocations: 0 / 0.5632 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1337, allocations: 0 / 0.5632 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1337, allocations: 3.984 kB / 0.5632 GB, free: 5.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1339, allocations: 55.95 kB / 0.5632 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.1342, allocations: 272.9 kB / 0.5635 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1344, allocations: 62.48 kB / 0.5635 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.1345, allocations: 56.91 kB / 0.5636 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.1345, allocations: 0 / 0.5636 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.1345, allocations: 38.5 kB / 0.5636 GB, free: 5.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1345, allocations: 0 / 0.5636 GB, free: 5.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003886/0.1349, allocations: 195.2 kB / 0.5638 GB, free: 4.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.135, allocations: 81.05 kB / 0.5639 GB, free: 4.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.1351, allocations: 121.8 kB / 0.564 GB, free: 4.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1351, allocations: 33.7 kB / 0.564 GB, free: 4.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1351, allocations: 80.14 kB / 0.5641 GB, free: 4.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1352, allocations: 15.84 kB / 0.5641 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1352, allocations: 13.72 kB / 0.5641 GB, free: 4.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.1353, allocations: 318.8 kB / 0.5644 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1354, allocations: 64 kB / 0.5645 GB, free: 4.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.1355, allocations: 59.89 kB / 0.5646 GB, free: 4.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.1358, allocations: 205.8 kB / 0.5648 GB, free: 3.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1358, allocations: 0 / 0.5648 GB, free: 3.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002945/0.1361, allocations: 225 kB / 0.565 GB, free: 3.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.1362, allocations: 69.58 kB / 0.565 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1362, allocations: 3.938 kB / 0.565 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1362, allocations: 0 / 0.565 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.1362, allocations: 4 kB / 0.565 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1362, allocations: 0 / 0.565 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.1363, allocations: 8 kB / 0.5651 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1363, allocations: 7.984 kB / 0.5651 GB, free: 3.531 MB / 430.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 9.712e-05/0.1364, allocations: 151.5 kB / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1365, allocations: 3.906 kB / 0.5652 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.1365, allocations: 15.89 kB / 0.5652 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1365, allocations: 0 / 0.5652 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1365, allocations: 0 / 0.5652 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1365, allocations: 0 / 0.5652 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1367, allocations: 173.6 kB / 0.5654 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1367, allocations: 0 / 0.5654 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.1367, allocations: 4 kB / 0.5654 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1367, allocations: 4 kB / 0.5654 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1367, allocations: 4 kB / 0.5654 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1368, allocations: 0 / 0.5654 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1368, allocations: 0 / 0.5654 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.137, allocations: 253.1 kB / 0.5656 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.1371, allocations: 85 kB / 0.5657 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1371, allocations: 4 kB / 0.5657 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1372, allocations: 12.03 kB / 0.5657 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.1373, allocations: 7.984 kB / 0.5657 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1373, allocations: 0 / 0.5657 GB, free: 2.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.88e-05/0.1374, allocations: 102.5 kB / 0.5658 GB, free: 2.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1374, allocations: 3.938 kB / 0.5659 GB, free: 2.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.1377, allocations: 52 kB / 0.5659 GB, free: 2.566 MB / 430.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.0002459/0.1379, allocations: 155.1 kB / 0.566 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.1383, allocations: 238.7 kB / 0.5663 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1383, allocations: 4 kB / 0.5663 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1384, allocations: 111.3 kB / 0.5664 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1387, allocations: 10.89 kB / 0.5664 GB, free: 2.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.139, allocations: 184.7 kB / 0.5666 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1392, allocations: 0.6891 MB / 0.5672 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.352e-05/0.1392, allocations: 0 / 0.5672 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.1393, allocations: 7.438 kB / 0.5673 GB, free: 1.09 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1393, allocations: 0 / 0.5673 GB, free: 1.09 MB / 430.1 MB Notification: Performance of Templates: time 0.003976/0.1432, allocations: 1.642 MB / 0.5689 GB, free: 15.46 MB / 446.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)