Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001197/0.001197, allocations: 190.5 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.248/1.248, allocations: 222.9 MB / 241.1 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.00203/0.00203, allocations: 285.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 0.9122/0.9122, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 96.19 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3645, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001551/0.366, allocations: 0.6212 MB / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3678, allocations: 1.431 MB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.3678, allocations: 0 / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/0.3679, allocations: 3.938 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.3679, allocations: 4 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.3686, allocations: 211.5 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.3687, allocations: 35.92 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.3687, allocations: 11.97 kB / 0.7694 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.3687, allocations: 8 kB / 0.7694 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.3688, allocations: 27.91 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3688, allocations: 0 / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.3692, allocations: 255.6 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.3692, allocations: 5.797 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3693, allocations: 19.88 kB / 0.7697 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.3696, allocations: 215.5 kB / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3696, allocations: 8 kB / 0.7699 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3696, allocations: 0 / 0.7699 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3696, allocations: 0 / 0.7699 GB, free: 1.047 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000454/0.37, allocations: 404.7 kB / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3701, allocations: 8.031 kB / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.3701, allocations: 4.938 kB / 0.7703 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3703, allocations: 170.8 kB / 0.7704 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3703, allocations: 8.375 kB / 0.7704 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.3703, allocations: 384 / 0.7704 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3705, allocations: 77.97 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3705, allocations: 0 / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3705, allocations: 0 / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3706, allocations: 0 / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.3706, allocations: 35.97 kB / 0.7706 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3708, allocations: 177.5 kB / 0.7707 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3709, allocations: 62.72 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.042e-05/0.371, allocations: 52.86 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.371, allocations: 0 / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.371, allocations: 38.5 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.371, allocations: 0 / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003406/0.3714, allocations: 191.2 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3714, allocations: 81.09 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.3715, allocations: 109.8 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3716, allocations: 33.73 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.3716, allocations: 88.12 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.3716, allocations: 23.7 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.3717, allocations: 17.72 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3718, allocations: 318.8 kB / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.3719, allocations: 39.92 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.3719, allocations: 31.97 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3721, allocations: 144.2 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3721, allocations: 4.031 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001815/0.3723, allocations: 147.3 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.3723, allocations: 41.62 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3723, allocations: 0 / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3724, allocations: 4 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.3724, allocations: 0 / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3724, allocations: 0.625 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3725, allocations: 11.84 kB / 0.7721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3725, allocations: 11.98 kB / 0.7721 GB, free: 14.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 prepare postOptimizeDAE: time 0.0001093/0.3726, allocations: 154 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.3727, allocations: 7.938 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.3727, allocations: 4.375 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3727, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3727, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.3728, allocations: 85.02 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3728, allocations: 0 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.3728, allocations: 11.98 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.3729, allocations: 4 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002817/0.3731, allocations: 309.9 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003095/0.3735, allocations: 352.3 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.288e-05/0.3736, allocations: 71.97 kB / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.3736, allocations: 91.27 kB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of Backend: time 3.6e-07/0.3736, allocations: 4 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006679/0.3743, allocations: 289.7 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004306/0.3747, allocations: 0.642 MB / 0.7741 GB, free: 12.34 MB / 0.545 GB Notification: Performance of Templates: time 0.004187/0.3789, allocations: 2.06 MB / 0.7761 GB, free: 10.29 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)