Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.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.001078/0.001078, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001074/0.001074, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7683/0.7683, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 69.47 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1367, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002598/0.1393, allocations: 1.422 MB / 0.6667 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1406, allocations: 0.776 MB / 0.6675 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.1406, allocations: 4 kB / 0.6675 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.397e-05/0.1407, allocations: 3.984 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.1407, allocations: 3.938 kB / 0.6675 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.1414, allocations: 183.5 kB / 0.6677 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1415, allocations: 47.91 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.1416, allocations: 4 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.673e-05/0.1416, allocations: 15.98 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.1417, allocations: 19.92 kB / 0.6677 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1417, allocations: 4 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.1421, allocations: 211.7 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.1421, allocations: 7.938 kB / 0.668 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.1422, allocations: 15.94 kB / 0.668 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1425, allocations: 187.6 kB / 0.6682 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1425, allocations: 7.984 kB / 0.6682 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1425, allocations: 4 kB / 0.6682 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.1425, allocations: 0 / 0.6682 GB, free: 2.859 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.0004815/0.143, allocations: 422.8 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.143, allocations: 13.11 kB / 0.6686 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1431, allocations: 4.844 kB / 0.6686 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1432, allocations: 172.2 kB / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1432, allocations: 384 / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1432, allocations: 7.938 kB / 0.6688 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1434, allocations: 73.66 kB / 0.6688 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1434, allocations: 0 / 0.6688 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1434, allocations: 0 / 0.6688 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1435, allocations: 8 kB / 0.6688 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1436, allocations: 47.91 kB / 0.6689 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.144, allocations: 276.8 kB / 0.6691 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1441, allocations: 70.48 kB / 0.6692 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.1442, allocations: 44.91 kB / 0.6693 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1442, allocations: 8 kB / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1442, allocations: 30.56 kB / 0.6693 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1442, allocations: 3.938 kB / 0.6693 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003974/0.1447, allocations: 183.2 kB / 0.6695 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.1447, allocations: 85.11 kB / 0.6695 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1448, allocations: 125.7 kB / 0.6697 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1448, allocations: 25.7 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.1449, allocations: 100.1 kB / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.1449, allocations: 3.906 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.145, allocations: 21.72 kB / 0.6698 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1451, allocations: 322.8 kB / 0.6701 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.1452, allocations: 55.97 kB / 0.6702 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.1453, allocations: 59.95 kB / 0.6702 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1455, allocations: 189.9 kB / 0.6704 GB, free: 300 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1455, allocations: 0 / 0.6704 GB, free: 300 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002732/0.1458, allocations: 224.9 kB / 0.6706 GB, free: 56 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.1459, allocations: 67.39 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1459, allocations: 0 / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1459, allocations: 0 / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.146, allocations: 4 kB / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.146, allocations: 0 / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1461, allocations: 8.062 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1461, allocations: 4 kB / 0.6707 GB, free: 15.96 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.0001096/0.1462, allocations: 155.5 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1462, allocations: 4 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.1463, allocations: 3.906 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1463, allocations: 3.984 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1463, allocations: 0 / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.1463, allocations: 89.12 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1463, allocations: 7.938 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1464, allocations: 8 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1465, allocations: 11.97 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002938/0.1468, allocations: 282 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002894/0.1471, allocations: 324.4 kB / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.629e-05/0.1472, allocations: 51.97 kB / 0.6716 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.1473, allocations: 95.2 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Backend: time 2.3e-07/0.1473, allocations: 0 / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000665/0.148, allocations: 329.2 kB / 0.672 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004385/0.1484, allocations: 0.6345 MB / 0.6726 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.004117/0.1526, allocations: 1.796 MB / 0.6744 GB, free: 12.02 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)