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.001773/0.001773, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001986/0.001986, allocations: 181.2 kB / 17.34 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.468/1.468, 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.002534/0.002534, allocations: 283.5 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 1.04/1.04, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002864/0.002864, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4383, allocations: 86.96 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002573/0.4409, allocations: 1.417 MB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.4422, allocations: 0.7857 MB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.4422, allocations: 4 kB / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.882e-05/0.4423, allocations: 0 / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.4423, allocations: 7.922 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.443, allocations: 175.5 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4431, allocations: 43.92 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.4431, allocations: 15.78 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.4432, allocations: 8 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.4432, allocations: 27.84 kB / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.4432, allocations: 4 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.4436, allocations: 203.7 kB / 0.7697 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.4437, allocations: 15.92 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.4437, allocations: 11.94 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.444, allocations: 189.3 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.444, allocations: 4 kB / 0.7699 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.444, allocations: 4 kB / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.444, allocations: 0 / 0.7699 GB, free: 1.008 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.0005511/0.4445, allocations: 433.2 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4446, allocations: 12.03 kB / 0.7703 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.4446, allocations: 4.891 kB / 0.7703 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4448, allocations: 172.4 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4448, allocations: 8.375 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.4448, allocations: 4.375 kB / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.445, allocations: 89.84 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.445, allocations: 0 / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.445, allocations: 4 kB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.445, allocations: 0 / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4451, allocations: 43.97 kB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.4456, allocations: 284.8 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4457, allocations: 58.48 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.4458, allocations: 44.92 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.4458, allocations: 0 / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4458, allocations: 38.55 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4458, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004073/0.4462, allocations: 179.3 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.4463, allocations: 77.11 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4464, allocations: 137.8 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4464, allocations: 29.64 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.4465, allocations: 88.14 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.4465, allocations: 7.938 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.4466, allocations: 21.72 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4467, allocations: 314.8 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.4468, allocations: 55.95 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-05/0.4469, allocations: 60.11 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.4472, allocations: 201.8 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4472, allocations: 0 / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003205/0.4475, allocations: 217.1 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.4475, allocations: 63.39 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.4475, allocations: 0 / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4476, allocations: 3.984 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.4476, allocations: 7.938 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4476, allocations: 3.984 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.4477, allocations: 8 kB / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.4477, allocations: 4 kB / 0.7724 GB, free: 14.1 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.0001301/0.4478, allocations: 153.9 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.4478, allocations: 7.953 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.4479, allocations: 11.91 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.4479, allocations: 0 / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4479, allocations: 0 / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4479, allocations: 0 / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4481, allocations: 173.6 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4481, allocations: 8 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.4481, allocations: 4 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4481, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4481, allocations: 7.984 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4481, allocations: 3.938 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4481, allocations: 0 / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4484, allocations: 245.1 kB / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.4485, allocations: 92.94 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.4485, allocations: 4.031 kB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.4486, allocations: 11.98 kB / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.4486, allocations: 4 kB / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4487, allocations: 0 / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.4487, allocations: 95.27 kB / 0.7732 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4487, allocations: 0 / 0.7732 GB, free: 13.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003199/0.449, allocations: 59.92 kB / 0.7733 GB, free: 13.12 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.0002801/0.4493, allocations: 155.1 kB / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.4497, allocations: 230.7 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4497, allocations: 0 / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4498, allocations: 107.3 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.0002247/0.45, allocations: 13.48 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.0003655/0.4504, allocations: 173.5 kB / 0.7739 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4507, allocations: 0.6846 MB / 0.7746 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.4508, allocations: 7.969 kB / 0.7746 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.4508, allocations: 15.44 kB / 0.7746 GB, free: 11.66 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4508, allocations: 0 / 0.7746 GB, free: 11.66 MB / 0.545 GB Notification: Performance of Templates: time 0.004788/0.4556, allocations: 1.766 MB / 0.7764 GB, free: 9.934 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)