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.00115/0.00115, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001085/0.001085, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.311/1.311, allocations: 222.9 MB / 241 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.002207/0.002207, allocations: 282.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9611/0.9611, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 91.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3737, allocations: 86.96 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00239/0.3762, allocations: 1.426 MB / 0.7684 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3776, allocations: 0.7818 MB / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.3776, allocations: 4 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.3777, allocations: 3.938 kB / 0.7692 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.3777, allocations: 4 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.3783, allocations: 174.8 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3784, allocations: 51.86 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.3785, allocations: 11.98 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.3785, allocations: 12 kB / 0.7695 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.3786, allocations: 23.89 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3786, allocations: 4 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.379, allocations: 199.7 kB / 0.7697 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.379, allocations: 11.98 kB / 0.7697 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.3791, allocations: 15.88 kB / 0.7697 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.3794, allocations: 199.5 kB / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3794, allocations: 4 kB / 0.7699 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3794, allocations: 0 / 0.7699 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.3794, allocations: 0 / 0.7699 GB, free: 1.027 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.0004731/0.3799, allocations: 425.3 kB / 0.7703 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3799, allocations: 12.02 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.3799, allocations: 4.938 kB / 0.7703 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3801, allocations: 172.2 kB / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3801, allocations: 4.375 kB / 0.7705 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3801, allocations: 4.375 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3803, allocations: 89.91 kB / 0.7706 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3803, allocations: 0 / 0.7706 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3803, allocations: 3.984 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3803, allocations: 0 / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3805, allocations: 47.91 kB / 0.7706 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.3809, allocations: 276.9 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.381, allocations: 58.55 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.3811, allocations: 44.92 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.3811, allocations: 0 / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3811, allocations: 38.55 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.3811, allocations: 0 / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003759/0.3815, allocations: 187.2 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3816, allocations: 81.14 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.3817, allocations: 125.8 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3817, allocations: 25.7 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.3818, allocations: 88.08 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3818, allocations: 15.89 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.3818, allocations: 17.72 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3819, allocations: 314.8 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3821, allocations: 59.95 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.3822, allocations: 59.97 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3824, allocations: 194 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3824, allocations: 7.875 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002824/0.3827, allocations: 220.9 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.3827, allocations: 61.59 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3828, allocations: 4 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3828, allocations: 0 / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.3828, allocations: 3.984 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3828, allocations: 8 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.3829, allocations: 11.94 kB / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3829, allocations: 0 / 0.7724 GB, free: 14.13 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.0001054/0.383, allocations: 157.9 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3831, allocations: 7.906 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.3831, allocations: 3.906 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3831, allocations: 0 / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3831, allocations: 4 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.3831, allocations: 77.11 kB / 0.7727 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3832, allocations: 7.984 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.3832, allocations: 4 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.3833, allocations: 15.92 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000289/0.3836, allocations: 278 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002879/0.3839, allocations: 324.4 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.153e-05/0.384, allocations: 51.97 kB / 0.7733 GB, free: 13.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.3841, allocations: 99.27 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of Backend: time 6.21e-07/0.3841, allocations: 3.938 kB / 0.7734 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006625/0.3848, allocations: 333.3 kB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004344/0.3852, allocations: 0.623 MB / 0.7744 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Templates: time 0.004352/0.3896, allocations: 1.812 MB / 0.7761 GB, free: 10.22 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)