Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001192/0.001192, allocations: 117.4 kB / 16.42 MB, free: 6.5 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.001006/0.001006, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 289.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3915, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002292/0.3939, allocations: 1.406 MB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3951, allocations: 0.7818 MB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.3951, allocations: 4 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.327e-05/0.3952, allocations: 3.938 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.3952, allocations: 3.984 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.3958, allocations: 171.2 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.396, allocations: 55.86 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.886e-05/0.396, allocations: 7.984 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.3961, allocations: 8 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.3961, allocations: 27.91 kB / 0.7695 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3961, allocations: 3.984 kB / 0.7695 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.3965, allocations: 203.7 kB / 0.7697 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.3965, allocations: 7.984 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.3966, allocations: 23.88 kB / 0.7697 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3968, allocations: 195.5 kB / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3968, allocations: 0 / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3969, allocations: 0 / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3969, allocations: 0 / 0.7699 GB, free: 0.9922 MB / 0.5294 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.0004524/0.3973, allocations: 429.3 kB / 0.7703 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3974, allocations: 8.031 kB / 0.7703 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3974, allocations: 4.938 kB / 0.7703 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3975, allocations: 176.2 kB / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3975, allocations: 4.375 kB / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3976, allocations: 4.375 kB / 0.7705 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3977, allocations: 81.97 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3978, allocations: 3.938 kB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3978, allocations: 0 / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3978, allocations: 0 / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3979, allocations: 51.91 kB / 0.7706 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3983, allocations: 280.9 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3984, allocations: 58.55 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.3985, allocations: 44.91 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.3985, allocations: 0 / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.3985, allocations: 34.56 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3985, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003785/0.3989, allocations: 191.2 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.399, allocations: 85.09 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.3991, allocations: 121.8 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3991, allocations: 25.7 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.3991, allocations: 96.06 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.3992, allocations: 3.906 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3992, allocations: 21.72 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.3993, allocations: 318.8 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.3994, allocations: 60 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.3995, allocations: 55.97 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3997, allocations: 201.8 kB / 0.7721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3998, allocations: 3.938 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002734/0.4, allocations: 216.9 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.4001, allocations: 62.22 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4001, allocations: 0 / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.4001, allocations: 0 / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.4002, allocations: 12.22 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.4002, allocations: 0 / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.4002, allocations: 7.938 kB / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4002, allocations: 4 kB / 0.7724 GB, free: 14.09 MB / 0.545 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.0001052/0.4004, allocations: 157.9 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.4004, allocations: 7.891 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.4004, allocations: 11.91 kB / 0.7726 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4004, allocations: 0 / 0.7726 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4004, allocations: 4 kB / 0.7726 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.4005, allocations: 81.09 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.4005, allocations: 4 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.4006, allocations: 4 kB / 0.7727 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.4007, allocations: 7.922 kB / 0.7727 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002818/0.401, allocations: 286 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002781/0.4012, allocations: 320.4 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.411e-05/0.4013, allocations: 47.97 kB / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.4014, allocations: 107.1 kB / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of Backend: time 3.1e-07/0.4014, allocations: 0 / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006378/0.4021, allocations: 333.1 kB / 0.7738 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004097/0.4025, allocations: 0.6229 MB / 0.7744 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Templates: time 0.003981/0.4065, allocations: 1.809 MB / 0.7761 GB, free: 10.18 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)