Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.0009902/0.0009902, allocations: 189.5 kB / 17.35 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.24/1.24, 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.002078/0.002078, 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.8887/0.8887, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3801, allocations: 86.98 MB / 0.7671 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00235/0.3825, allocations: 1.426 MB / 0.7685 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.3829, allocations: 200.2 kB / 0.7686 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.3829, allocations: 0 / 0.7686 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.3829, allocations: 3.938 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.357e-05/0.383, allocations: 0 / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.3832, allocations: 35.91 kB / 0.7687 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.3833, allocations: 27.91 kB / 0.7687 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.3834, allocations: 8 kB / 0.7687 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.3834, allocations: 8 kB / 0.7687 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.3835, allocations: 15.92 kB / 0.7687 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.3835, allocations: 0 / 0.7687 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.3836, allocations: 31.97 kB / 0.7688 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.3836, allocations: 3.984 kB / 0.7688 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.3836, allocations: 11.94 kB / 0.7688 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3838, allocations: 47.81 kB / 0.7688 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3838, allocations: 0 / 0.7688 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3838, allocations: 0 / 0.7688 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3838, allocations: 4 kB / 0.7688 GB, free: 1.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000393/0.3842, allocations: 343.1 kB / 0.7692 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3842, allocations: 8.031 kB / 0.7692 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.3843, allocations: 4.875 kB / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3844, allocations: 172.3 kB / 0.7693 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3844, allocations: 384 / 0.7693 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3844, allocations: 4.375 kB / 0.7693 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3846, allocations: 54.23 kB / 0.7694 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.3846, allocations: 192 / 0.7694 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3846, allocations: 7.938 kB / 0.7694 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3846, allocations: 7.938 kB / 0.7694 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3848, allocations: 31.91 kB / 0.7694 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.3851, allocations: 245 kB / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3852, allocations: 46.5 kB / 0.7697 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.3853, allocations: 24.89 kB / 0.7697 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.3854, allocations: 81.11 kB / 0.7698 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3854, allocations: 30.56 kB / 0.7699 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3854, allocations: 0 / 0.7699 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003376/0.3858, allocations: 89.58 kB / 0.7699 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.3858, allocations: 51.41 kB / 0.77 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.3859, allocations: 105.8 kB / 0.7701 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3859, allocations: 25.7 kB / 0.7701 GB, free: 428 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.3859, allocations: 80.14 kB / 0.7702 GB, free: 344 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.386, allocations: 10.42 kB / 0.7702 GB, free: 336 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.386, allocations: 17.72 kB / 0.7702 GB, free: 312 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3861, allocations: 315 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.3862, allocations: 19.97 kB / 0.7705 GB, free: 15.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.3863, allocations: 15.98 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3864, allocations: 36.83 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3865, allocations: 0 / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.3867, allocations: 77.59 kB / 0.7707 GB, free: 15.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3867, allocations: 8 kB / 0.7707 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3867, allocations: 0 / 0.7707 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3867, allocations: 0 / 0.7707 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.3868, allocations: 11.98 kB / 0.7707 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3868, allocations: 0 / 0.7707 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.3869, allocations: 4 kB / 0.7707 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3869, allocations: 3.984 kB / 0.7707 GB, free: 15.8 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.2e-05/0.3869, allocations: 112.3 kB / 0.7708 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.387, allocations: 11.84 kB / 0.7708 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3872, allocations: 72.72 kB / 0.7709 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3872, allocations: 0 / 0.7709 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3872, allocations: 0 / 0.7709 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.3873, allocations: 85.09 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3873, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.3874, allocations: 19.89 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3874, allocations: 0 / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002424/0.3876, allocations: 152.9 kB / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002465/0.3879, allocations: 242.8 kB / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.59e-05/0.388, allocations: 15.98 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.388, allocations: 87.53 kB / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of Backend: time 2.8e-07/0.388, allocations: 0 / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.3885, allocations: 108.9 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003906/0.3889, allocations: 0.5572 MB / 0.7721 GB, free: 14.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002571/0.3915, allocations: 0.6788 MB / 0.7728 GB, free: 13.57 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)