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.001569/0.001568, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.00165/0.00165, allocations: 187 kB / 17.34 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002202/0.002202, allocations: 284.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9488/0.9488, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 87.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4351, allocations: 86.98 MB / 0.7671 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002432/0.4376, allocations: 1.41 MB / 0.7684 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.4388, allocations: 0.7818 MB / 0.7692 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.4389, allocations: 0 / 0.7692 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.4389, allocations: 0 / 0.7692 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.439, allocations: 15.88 kB / 0.7692 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.4397, allocations: 178.9 kB / 0.7694 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.4398, allocations: 51.84 kB / 0.7694 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.4399, allocations: 8 kB / 0.7694 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.44, allocations: 15.98 kB / 0.7695 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.44, allocations: 15.92 kB / 0.7695 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.44, allocations: 4 kB / 0.7695 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.4404, allocations: 207.7 kB / 0.7697 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.4404, allocations: 8 kB / 0.7697 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.4405, allocations: 23.86 kB / 0.7697 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.4408, allocations: 191.6 kB / 0.7699 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4408, allocations: 0 / 0.7699 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.552e-06/0.4408, allocations: 4 kB / 0.7699 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4408, allocations: 0 / 0.7699 GB, free: 1.148 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.0004649/0.4413, allocations: 425.3 kB / 0.7703 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4413, allocations: 8.031 kB / 0.7703 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4414, allocations: 4.938 kB / 0.7703 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4415, allocations: 184.2 kB / 0.7705 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.4415, allocations: 384 / 0.7705 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.4415, allocations: 4.375 kB / 0.7705 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4417, allocations: 77.98 kB / 0.7706 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4417, allocations: 4 kB / 0.7706 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4417, allocations: 0 / 0.7706 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4417, allocations: 0 / 0.7706 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.4418, allocations: 51.95 kB / 0.7706 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.4422, allocations: 268.9 kB / 0.7709 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4423, allocations: 66.48 kB / 0.7709 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.4424, allocations: 48.91 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.4424, allocations: 0 / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4425, allocations: 34.56 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4425, allocations: 0 / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003645/0.4428, allocations: 183.2 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.4429, allocations: 85.05 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.443, allocations: 129.8 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.443, allocations: 29.7 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.4431, allocations: 92.12 kB / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.4431, allocations: 3.906 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.4432, allocations: 25.7 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4433, allocations: 314.8 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.6e-05/0.4434, allocations: 59.95 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.4435, allocations: 55.97 kB / 0.772 GB, free: 14.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.4437, allocations: 197.8 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4437, allocations: 3.938 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002768/0.444, allocations: 220.9 kB / 0.7724 GB, free: 14.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/0.4441, allocations: 67.39 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4441, allocations: 0 / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4441, allocations: 0 / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/0.4441, allocations: 4 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4442, allocations: 0 / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.4442, allocations: 11.92 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4442, allocations: 8 kB / 0.7724 GB, free: 14.25 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.0001122/0.4443, allocations: 157.9 kB / 0.7726 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.4444, allocations: 3.906 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.4444, allocations: 7.906 kB / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4444, allocations: 0 / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4444, allocations: 0 / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4444, allocations: 240 / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.4446, allocations: 173.6 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4446, allocations: 4.062 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.4446, allocations: 11.98 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4446, allocations: 0 / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4447, allocations: 4 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4447, allocations: 0 / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4447, allocations: 0 / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.4449, allocations: 261 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.445, allocations: 77.11 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.445, allocations: 4.031 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.4451, allocations: 4 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.4452, allocations: 15.92 kB / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.4452, allocations: 0 / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.4453, allocations: 95.27 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4453, allocations: 0 / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000305/0.4456, allocations: 59.98 kB / 0.7733 GB, free: 13.28 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.0002534/0.4458, allocations: 151.2 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.4462, allocations: 242.7 kB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4462, allocations: 0 / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.4463, allocations: 107.3 kB / 0.7738 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.4465, allocations: 8.5 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.4469, allocations: 199.2 kB / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.4471, allocations: 0.6885 MB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.4472, allocations: 11.5 kB / 0.7746 GB, free: 11.78 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4472, allocations: 0 / 0.7746 GB, free: 11.78 MB / 0.545 GB Notification: Performance of Templates: time 0.003093/0.4503, allocations: 1.504 MB / 0.7761 GB, free: 10.28 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)