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.00135/0.00135, allocations: 102.3 kB / 16.4 MB, free: 6.461 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.001043/0.001043, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.308/1.308, 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.002172/0.002172, allocations: 289.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9379/0.9379, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001864, allocations: 91.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3983, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002332/0.4007, allocations: 1.41 MB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.4019, allocations: 0.7818 MB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.4019, allocations: 4 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.958e-05/0.402, allocations: 7.938 kB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.402, allocations: 3.938 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.4026, allocations: 177.2 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4028, allocations: 51.92 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.4028, allocations: 3.984 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.4029, allocations: 12 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.4029, allocations: 19.91 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.4029, allocations: 7.984 kB / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.4033, allocations: 199.7 kB / 0.7697 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.4033, allocations: 19.92 kB / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.4034, allocations: 15.88 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.4036, allocations: 195.6 kB / 0.7699 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4036, allocations: 0 / 0.7699 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4036, allocations: 0 / 0.7699 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.4036, allocations: 0 / 0.7699 GB, free: 1.004 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.0004708/0.4041, allocations: 427.5 kB / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.4042, allocations: 8.031 kB / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.4042, allocations: 12.92 kB / 0.7703 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4043, allocations: 180.2 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.4043, allocations: 384 / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.4044, allocations: 8.375 kB / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4045, allocations: 81.91 kB / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4045, allocations: 0 / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4046, allocations: 0 / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4046, allocations: 4 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4047, allocations: 43.97 kB / 0.7706 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.4051, allocations: 272.9 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4052, allocations: 66.55 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.4053, allocations: 44.86 kB / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.4053, allocations: 4 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4053, allocations: 34.55 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.4053, allocations: 0 / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003696/0.4057, allocations: 179.2 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4058, allocations: 85.14 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.4059, allocations: 125.8 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4059, allocations: 29.64 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.4059, allocations: 88.14 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.406, allocations: 7.891 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.406, allocations: 21.72 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.4061, allocations: 318.8 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.4062, allocations: 63.89 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.4063, allocations: 59.97 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.4065, allocations: 193.8 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4065, allocations: 0 / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002653/0.4068, allocations: 216.9 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.4069, allocations: 67.39 kB / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4069, allocations: 0 / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4069, allocations: 0 / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/0.4069, allocations: 4 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.407, allocations: 7.984 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.407, allocations: 7.938 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.407, allocations: 4 kB / 0.7724 GB, free: 14.11 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.0001033/0.4071, allocations: 161.8 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4072, allocations: 3.906 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.4072, allocations: 8.141 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4072, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4072, allocations: 3.984 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4072, allocations: 4 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.4074, allocations: 181.6 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4074, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.4074, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4074, allocations: 3.984 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.4074, allocations: 4 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4075, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4075, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.4077, allocations: 257 kB / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.4078, allocations: 77.11 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4078, allocations: 0 / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.4079, allocations: 7.984 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.408, allocations: 11.94 kB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.408, allocations: 7.938 kB / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.408, allocations: 91.27 kB / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.408, allocations: 0 / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003166/0.4084, allocations: 63.98 kB / 0.7733 GB, free: 13.13 MB / 0.545 GB 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.0002431/0.4086, allocations: 151.2 kB / 0.7734 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.4089, allocations: 238.7 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.409, allocations: 4 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.4091, allocations: 99.38 kB / 0.7738 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4093, allocations: 7.938 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.4097, allocations: 211.2 kB / 0.774 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.4099, allocations: 0.6845 MB / 0.7746 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.4099, allocations: 11.44 kB / 0.7746 GB, free: 11.63 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.4099, allocations: 0 / 0.7746 GB, free: 11.63 MB / 0.545 GB Notification: Performance of Templates: time 0.003337/0.4133, allocations: 1.503 MB / 0.7761 GB, free: 10.14 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)