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.001122/0.001122, allocations: 115.4 kB / 17.08 MB, free: 6.008 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.00122/0.00122, allocations: 196.7 kB / 18.02 MB, free: 5.086 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6812/0.6812, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.83 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00235/0.1387, allocations: 1.41 MB / 0.6341 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1399, allocations: 0.78 MB / 0.6349 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.14, allocations: 4 kB / 0.6349 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.505e-05/0.14, allocations: 7.922 kB / 0.6349 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.1401, allocations: 3.938 kB / 0.6349 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.1407, allocations: 174.3 kB / 0.6351 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1408, allocations: 55.89 kB / 0.6351 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.1409, allocations: 4 kB / 0.6351 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.1409, allocations: 11.98 kB / 0.6351 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.141, allocations: 23.92 kB / 0.6352 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.141, allocations: 4 kB / 0.6352 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1413, allocations: 211.6 kB / 0.6354 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.1414, allocations: 7.938 kB / 0.6354 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.1414, allocations: 19.94 kB / 0.6354 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1417, allocations: 191.5 kB / 0.6356 GB, free: 1.488 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1417, allocations: 3.984 kB / 0.6356 GB, free: 1.484 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1417, allocations: 0 / 0.6356 GB, free: 1.484 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1417, allocations: 0 / 0.6356 GB, free: 1.484 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.0004616/0.1422, allocations: 430.7 kB / 0.636 GB, free: 1.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1422, allocations: 12.03 kB / 0.636 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1423, allocations: 0.9375 kB / 0.636 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1424, allocations: 168.3 kB / 0.6362 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1424, allocations: 4.375 kB / 0.6362 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1424, allocations: 4.375 kB / 0.6362 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1426, allocations: 81.91 kB / 0.6362 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1426, allocations: 0 / 0.6362 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1426, allocations: 4 kB / 0.6362 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1426, allocations: 4 kB / 0.6363 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1427, allocations: 43.97 kB / 0.6363 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.1431, allocations: 280.9 kB / 0.6366 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.1432, allocations: 66.48 kB / 0.6366 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.1433, allocations: 44.91 kB / 0.6367 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1433, allocations: 4 kB / 0.6367 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1433, allocations: 30.56 kB / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1433, allocations: 0 / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003685/0.1437, allocations: 187.2 kB / 0.6369 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1438, allocations: 92.98 kB / 0.637 GB, free: 15.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.1439, allocations: 121.8 kB / 0.6371 GB, free: 15.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1439, allocations: 25.7 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.1439, allocations: 92.12 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.144, allocations: 3.906 kB / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.144, allocations: 25.66 kB / 0.6372 GB, free: 15.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.1441, allocations: 318.8 kB / 0.6375 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.1442, allocations: 60 kB / 0.6376 GB, free: 15.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.1443, allocations: 59.95 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1445, allocations: 201.9 kB / 0.6378 GB, free: 14.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1445, allocations: 0 / 0.6378 GB, free: 14.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002432/0.1448, allocations: 216.9 kB / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.1448, allocations: 63.39 kB / 0.6381 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1448, allocations: 0 / 0.6381 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1448, allocations: 0 / 0.6381 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.1449, allocations: 8 kB / 0.6381 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1449, allocations: 3.938 kB / 0.6381 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.145, allocations: 4 kB / 0.6381 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.145, allocations: 4 kB / 0.6381 GB, free: 14.58 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 9.524e-05/0.1451, allocations: 151.5 kB / 0.6383 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1451, allocations: 7.906 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1451, allocations: 11.89 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1451, allocations: 0 / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1452, allocations: 4 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1452, allocations: 0 / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1453, allocations: 173.6 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1453, allocations: 0 / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.1454, allocations: 0 / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1454, allocations: 4.234 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1454, allocations: 4 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1454, allocations: 0 / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1454, allocations: 0 / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1456, allocations: 261 kB / 0.6387 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.1457, allocations: 81.05 kB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1457, allocations: 3.984 kB / 0.6388 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.1458, allocations: 4 kB / 0.6388 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1459, allocations: 11.98 kB / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1459, allocations: 8 kB / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.234e-05/0.1459, allocations: 95.64 kB / 0.6389 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 0 / 0.6389 GB, free: 13.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1462, allocations: 71.97 kB / 0.639 GB, free: 13.59 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.0002333/0.1465, allocations: 147.2 kB / 0.6391 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.1468, allocations: 238.7 kB / 0.6393 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1468, allocations: 0 / 0.6393 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1469, allocations: 103.4 kB / 0.6394 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.1471, allocations: 13.48 kB / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.1475, allocations: 199.2 kB / 0.6396 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.1477, allocations: 0.6924 MB / 0.6403 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.1477, allocations: 7.438 kB / 0.6403 GB, free: 12.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1477, allocations: 0 / 0.6403 GB, free: 12.11 MB / 494.1 MB Notification: Performance of Templates: time 0.002771/0.1505, allocations: 1.494 MB / 0.6418 GB, free: 10.61 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)