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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 143.4 MB / 159.2 MB, free: 4.914 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 188.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 447.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 103.7 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 284.6 kB / 0.5973 GB, free: 49.33 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 87.88 kB / 0.6885 GB, free: 3.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3778, allocations: 81.29 MB / 0.7679 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002388/0.3802, allocations: 1.503 MB / 0.7694 GB, free: 26.12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000385/0.3806, allocations: 195.4 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.3807, allocations: 0 / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.3807, allocations: 0 / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.3808, allocations: 7.938 kB / 0.7696 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.381, allocations: 23.97 kB / 0.7696 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.381, allocations: 19.88 kB / 0.7696 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.3811, allocations: 11.98 kB / 0.7696 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.3812, allocations: 11.98 kB / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.3812, allocations: 19.86 kB / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3812, allocations: 0 / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.3813, allocations: 31.97 kB / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.3813, allocations: 0 / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.3814, allocations: 11.94 kB / 0.7697 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3815, allocations: 43.86 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3815, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3815, allocations: 4 kB / 0.7698 GB, free: 25.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3815, allocations: 0 / 0.7698 GB, free: 25.74 MB / 458.7 MB 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.0003615/0.3819, allocations: 342.2 kB / 0.7701 GB, free: 25.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3819, allocations: 12.03 kB / 0.7701 GB, free: 25.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.3819, allocations: 0.9375 kB / 0.7701 GB, free: 25.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.809e-05/0.382, allocations: 168.3 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.382, allocations: 384 / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.3821, allocations: 384 / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3822, allocations: 54.17 kB / 0.7703 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3822, allocations: 192 / 0.7703 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3823, allocations: 7.938 kB / 0.7703 GB, free: 25.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3823, allocations: 3.984 kB / 0.7703 GB, free: 25.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3824, allocations: 35.95 kB / 0.7704 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.3827, allocations: 244.8 kB / 0.7706 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3828, allocations: 50.47 kB / 0.7706 GB, free: 24.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.3829, allocations: 28.91 kB / 0.7707 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.757e-05/0.383, allocations: 77.11 kB / 0.7707 GB, free: 24.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.383, allocations: 38.55 kB / 0.7708 GB, free: 24.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.383, allocations: 0 / 0.7708 GB, free: 24.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003221/0.3833, allocations: 81.75 kB / 0.7709 GB, free: 24.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.3834, allocations: 55.39 kB / 0.7709 GB, free: 24.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.3834, allocations: 97.86 kB / 0.771 GB, free: 24.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.3834, allocations: 25.7 kB / 0.771 GB, free: 24.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.3835, allocations: 88.14 kB / 0.7711 GB, free: 24.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.3835, allocations: 15.77 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.3835, allocations: 13.72 kB / 0.7711 GB, free: 24.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.3836, allocations: 314.8 kB / 0.7714 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.3837, allocations: 16.02 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.3837, allocations: 19.98 kB / 0.7715 GB, free: 23.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3839, allocations: 37.06 kB / 0.7715 GB, free: 23.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3839, allocations: 0 / 0.7715 GB, free: 23.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001763/0.3841, allocations: 77.66 kB / 0.7716 GB, free: 23.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3841, allocations: 9.406 kB / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3841, allocations: 0 / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.526e-05/0.3842, allocations: 0 / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.3843, allocations: 11.88 kB / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3843, allocations: 0 / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.3843, allocations: 7.984 kB / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3843, allocations: 4 kB / 0.7716 GB, free: 23.6 MB / 458.7 MB 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 4.839e-05/0.3844, allocations: 118.3 kB / 0.7717 GB, free: 23.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3844, allocations: 3.906 kB / 0.7717 GB, free: 23.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.3846, allocations: 76.75 kB / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3846, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3847, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3847, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.3848, allocations: 165.6 kB / 0.772 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3848, allocations: 4 kB / 0.772 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.3848, allocations: 12.02 kB / 0.772 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3849, allocations: 0 / 0.772 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3849, allocations: 0 / 0.772 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3849, allocations: 3.938 kB / 0.772 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3849, allocations: 4 kB / 0.772 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.3853, allocations: 0.7201 MB / 0.7727 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.3853, allocations: 81.11 kB / 0.7728 GB, free: 22.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.3853, allocations: 0 / 0.7728 GB, free: 22.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.3854, allocations: 7.984 kB / 0.7728 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3854, allocations: 4 kB / 0.7728 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3854, allocations: 3.938 kB / 0.7728 GB, free: 22.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.987e-05/0.3855, allocations: 83.27 kB / 0.7729 GB, free: 22.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.3855, allocations: 4 kB / 0.7729 GB, free: 22.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000316/0.3858, allocations: 19.94 kB / 0.7729 GB, free: 22.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001163/0.3859, allocations: 99.25 kB / 0.773 GB, free: 22.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3861, allocations: 43.95 kB / 0.773 GB, free: 22.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3861, allocations: 0 / 0.773 GB, free: 22.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.3862, allocations: 19.98 kB / 0.773 GB, free: 21.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3865, allocations: 10.98 kB / 0.773 GB, free: 21.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.3868, allocations: 214.1 kB / 0.7732 GB, free: 21.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.3869, allocations: 0.6731 MB / 0.7739 GB, free: 21.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.3869, allocations: 0 / 0.7739 GB, free: 21.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.3869, allocations: 15.42 kB / 0.7739 GB, free: 21.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3869, allocations: 4 kB / 0.7739 GB, free: 21.02 MB / 458.7 MB Notification: Performance of Templates: time 0.002182/0.3891, allocations: 0.5258 MB / 0.7744 GB, free: 20.49 MB / 458.7 MB 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)