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.001057/0.001057, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.001005/0.001005, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.212/1.212, 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.001995/0.001995, allocations: 287.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8753/0.8753, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 99.84 kB / 0.6822 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3694, allocations: 86.97 MB / 0.7671 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001478/0.3709, allocations: 0.6019 MB / 0.7677 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3725, allocations: 1.435 MB / 0.7691 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.3725, allocations: 0 / 0.7691 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.3725, allocations: 3.938 kB / 0.7691 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.3726, allocations: 4 kB / 0.7691 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.3732, allocations: 211.4 kB / 0.7693 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.3733, allocations: 43.91 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.3733, allocations: 7.984 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.3733, allocations: 8 kB / 0.7694 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.3734, allocations: 27.91 kB / 0.7694 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3734, allocations: 0 / 0.7694 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.3738, allocations: 259.5 kB / 0.7696 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.3738, allocations: 5.797 kB / 0.7696 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.3739, allocations: 15.88 kB / 0.7697 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3741, allocations: 215.5 kB / 0.7699 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3741, allocations: 0 / 0.7699 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3741, allocations: 4 kB / 0.7699 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3741, allocations: 4 kB / 0.7699 GB, free: 1.117 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.0003455/0.3745, allocations: 408.7 kB / 0.7703 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3745, allocations: 8.031 kB / 0.7703 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.3746, allocations: 8.922 kB / 0.7703 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.445e-05/0.3747, allocations: 170.8 kB / 0.7704 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3747, allocations: 4.375 kB / 0.7704 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.3747, allocations: 384 / 0.7704 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3748, allocations: 77.97 kB / 0.7705 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3749, allocations: 4 kB / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3749, allocations: 0 / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.3749, allocations: 0 / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.3749, allocations: 39.91 kB / 0.7706 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.3751, allocations: 165.6 kB / 0.7707 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/0.3752, allocations: 62.55 kB / 0.7708 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.3752, allocations: 57.09 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.3753, allocations: 0 / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3753, allocations: 38.5 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3753, allocations: 0 / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000273/0.3756, allocations: 195.2 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3756, allocations: 81.09 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.3757, allocations: 113.8 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3757, allocations: 29.7 kB / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.3757, allocations: 84.14 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3758, allocations: 23.7 kB / 0.7714 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.3758, allocations: 21.75 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.3759, allocations: 318.8 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.376, allocations: 39.92 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.376, allocations: 31.97 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3762, allocations: 140.2 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3762, allocations: 0 / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001594/0.3763, allocations: 151.3 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.3764, allocations: 41.62 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3764, allocations: 0 / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.3764, allocations: 4.062 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3764, allocations: 4 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3764, allocations: 3.938 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.3765, allocations: 15.83 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3765, allocations: 4 kB / 0.7721 GB, free: 14.56 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 9.442e-05/0.3766, allocations: 153.9 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3766, allocations: 7.938 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.035e-05/0.3766, allocations: 4.375 kB / 0.7723 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.3767, allocations: 0 / 0.7723 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3767, allocations: 4 kB / 0.7723 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.3767, allocations: 85.02 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3767, allocations: 3.984 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.3768, allocations: 8 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.3768, allocations: 4 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002224/0.377, allocations: 298.6 kB / 0.7727 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002459/0.3773, allocations: 356.3 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.067e-05/0.3774, allocations: 80 kB / 0.7731 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.3774, allocations: 91.27 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/0.3774, allocations: 0 / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.378, allocations: 292 kB / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.000366/0.3784, allocations: 0.6371 MB / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Templates: time 0.003917/0.3823, allocations: 2.061 MB / 0.7761 GB, free: 10.36 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)