Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 181.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6944/0.6944, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 403.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 105.2 kB / 484.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.92 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.138, allocations: 80.21 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002735/0.1408, allocations: 1.471 MB / 0.6416 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1421, allocations: 0.8163 MB / 0.6424 GB, free: 4.445 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1422, allocations: 4 kB / 0.6424 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 7.429e-05/0.1423, allocations: 0 / 0.6424 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.1424, allocations: 11.92 kB / 0.6424 GB, free: 4.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.143, allocations: 117 kB / 0.6426 GB, free: 4.316 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.143, allocations: 47.84 kB / 0.6426 GB, free: 4.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.1431, allocations: 3.984 kB / 0.6426 GB, free: 4.266 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.1432, allocations: 19.98 kB / 0.6426 GB, free: 4.246 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.1432, allocations: 15.92 kB / 0.6426 GB, free: 4.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1433, allocations: 4 kB / 0.6426 GB, free: 4.227 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.1436, allocations: 195.7 kB / 0.6428 GB, free: 4.035 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.1437, allocations: 7.984 kB / 0.6428 GB, free: 4.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1437, allocations: 23.86 kB / 0.6429 GB, free: 4.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.144, allocations: 179.9 kB / 0.643 GB, free: 3.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.144, allocations: 3.938 kB / 0.643 GB, free: 3.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.144, allocations: 0 / 0.643 GB, free: 3.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.144, allocations: 0 / 0.643 GB, free: 3.824 MB / 442.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.0005335/0.1446, allocations: 442.7 kB / 0.6435 GB, free: 3.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1446, allocations: 8.031 kB / 0.6435 GB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1447, allocations: 8.844 kB / 0.6435 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1448, allocations: 168.4 kB / 0.6436 GB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1448, allocations: 384 / 0.6436 GB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1448, allocations: 12.06 kB / 0.6436 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.145, allocations: 85.64 kB / 0.6437 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1451, allocations: 0 / 0.6437 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1451, allocations: 0 / 0.6437 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1451, allocations: 4 kB / 0.6437 GB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1452, allocations: 47.97 kB / 0.6438 GB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.1456, allocations: 276.8 kB / 0.644 GB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1457, allocations: 62.48 kB / 0.6441 GB, free: 2.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.1458, allocations: 40.92 kB / 0.6441 GB, free: 2.527 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1458, allocations: 7.984 kB / 0.6441 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1459, allocations: 34.56 kB / 0.6442 GB, free: 2.477 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1459, allocations: 0 / 0.6442 GB, free: 2.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003772/0.1463, allocations: 179.3 kB / 0.6443 GB, free: 2.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1463, allocations: 81.11 kB / 0.6444 GB, free: 2.191 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1464, allocations: 125.8 kB / 0.6445 GB, free: 2.059 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1465, allocations: 25.7 kB / 0.6446 GB, free: 2.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.1465, allocations: 100.1 kB / 0.6447 GB, free: 1.926 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1465, allocations: 11.78 kB / 0.6447 GB, free: 1.914 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.1466, allocations: 21.72 kB / 0.6447 GB, free: 1.887 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1467, allocations: 326.8 kB / 0.645 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.1468, allocations: 51.97 kB / 0.6451 GB, free: 1.508 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.1469, allocations: 55.97 kB / 0.6451 GB, free: 1.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.1471, allocations: 193.9 kB / 0.6453 GB, free: 1.242 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1471, allocations: 4 kB / 0.6453 GB, free: 1.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002713/0.1474, allocations: 217 kB / 0.6455 GB, free: 1.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.1474, allocations: 59.41 kB / 0.6456 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1475, allocations: 0 / 0.6456 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1475, allocations: 0 / 0.6456 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.1475, allocations: 11.92 kB / 0.6456 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1476, allocations: 0 / 0.6456 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.1476, allocations: 11.84 kB / 0.6456 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1476, allocations: 4 kB / 0.6456 GB, free: 0.9102 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.1477, allocations: 156.8 kB / 0.6457 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1478, allocations: 0 / 0.6457 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.1478, allocations: 11.91 kB / 0.6458 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1478, allocations: 0 / 0.6458 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1478, allocations: 0 / 0.6458 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1478, allocations: 0 / 0.6458 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.148, allocations: 173.6 kB / 0.6459 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.148, allocations: 4.062 kB / 0.6459 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.1481, allocations: 7.984 kB / 0.6459 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1481, allocations: 4 kB / 0.6459 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1481, allocations: 4 kB / 0.6459 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1481, allocations: 0 / 0.6459 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1481, allocations: 0 / 0.6459 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.1487, allocations: 0.8466 MB / 0.6468 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.1487, allocations: 89.05 kB / 0.6468 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1488, allocations: 3.984 kB / 0.6469 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1488, allocations: 7.938 kB / 0.6469 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.149, allocations: 12.22 kB / 0.6469 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.149, allocations: 0 / 0.6469 GB, free: 15.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.1491, allocations: 99.2 kB / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1491, allocations: 0 / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000427/0.1495, allocations: 56 kB / 0.647 GB, free: 15.3 MB / 458.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 (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.000305/0.1498, allocations: 155.1 kB / 0.6472 GB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.1502, allocations: 242.7 kB / 0.6474 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1502, allocations: 0 / 0.6474 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1503, allocations: 103.4 kB / 0.6475 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1505, allocations: 0.7656 kB / 0.6475 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1509, allocations: 299.4 kB / 0.6478 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1511, allocations: 0.6848 MB / 0.6485 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.684e-05/0.1512, allocations: 0 / 0.6485 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.1512, allocations: 7.438 kB / 0.6485 GB, free: 13.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1512, allocations: 0 / 0.6485 GB, free: 13.71 MB / 458.7 MB Notification: Performance of Templates: time 0.004086/0.1553, allocations: 1.694 MB / 0.6501 GB, free: 12.02 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)