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.001196/0.001196, allocations: 104.3 kB / 16.41 MB, free: 6.504 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.001161/0.001161, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.228/1.228, 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: 292.9 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.8912/0.8912, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3817, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002321/0.3841, allocations: 1.43 MB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003623/0.3844, allocations: 196.3 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.3845, allocations: 0 / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.3845, allocations: 7.938 kB / 0.7686 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.3846, allocations: 3.938 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.3848, allocations: 31.91 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.3849, allocations: 23.92 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.385, allocations: 8 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.385, allocations: 15.97 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.385, allocations: 11.94 kB / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.3851, allocations: 0 / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.3851, allocations: 39.95 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.3852, allocations: 0 / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.3852, allocations: 7.938 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3853, allocations: 43.88 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3853, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3853, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3853, allocations: 4 kB / 0.7688 GB, free: 2.09 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.0004015/0.3857, allocations: 347.1 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3858, allocations: 12.03 kB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.3858, allocations: 0.9375 kB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3859, allocations: 164.3 kB / 0.7693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.3859, allocations: 4.375 kB / 0.7693 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3859, allocations: 384 / 0.7693 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3861, allocations: 54.17 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3861, allocations: 4.188 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.3861, allocations: 7.875 kB / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3861, allocations: 3.938 kB / 0.7694 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3863, allocations: 39.95 kB / 0.7694 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.3866, allocations: 241 kB / 0.7697 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3867, allocations: 46.48 kB / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.3868, allocations: 28.84 kB / 0.7697 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.391e-05/0.3869, allocations: 81.09 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3869, allocations: 30.56 kB / 0.7698 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3869, allocations: 0 / 0.7698 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003128/0.3872, allocations: 85.64 kB / 0.7699 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3873, allocations: 55.41 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.3874, allocations: 97.84 kB / 0.7701 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3874, allocations: 29.7 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.3874, allocations: 84.14 kB / 0.7702 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3874, allocations: 6.438 kB / 0.7702 GB, free: 492 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3875, allocations: 13.72 kB / 0.7702 GB, free: 472 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3876, allocations: 323 kB / 0.7705 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.3877, allocations: 15.92 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.3877, allocations: 15.98 kB / 0.7705 GB, free: 108 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3879, allocations: 36.83 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3879, allocations: 4.234 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.3881, allocations: 69.67 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3881, allocations: 4 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3881, allocations: 4 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3881, allocations: 4 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.3882, allocations: 11.98 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3882, allocations: 0 / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.3883, allocations: 7.984 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.3883, allocations: 3.938 kB / 0.7707 GB, free: 15.95 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 7.009e-05/0.3884, allocations: 120.2 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.3884, allocations: 3.906 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.3886, allocations: 72.78 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3886, allocations: 0 / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3886, allocations: 0 / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3886, allocations: 0 / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3888, allocations: 165.5 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3888, allocations: 4.031 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.3888, allocations: 11.98 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3888, allocations: 0 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.3889, allocations: 0 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3889, allocations: 0 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3889, allocations: 0 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.3891, allocations: 171.4 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.3891, allocations: 85.05 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3891, allocations: 0 / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.3892, allocations: 7.984 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.3892, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.3893, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.3893, allocations: 83.28 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3893, allocations: 0 / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000232/0.3895, allocations: 19.98 kB / 0.7714 GB, free: 15.13 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: 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.0001227/0.3897, allocations: 107.3 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3899, allocations: 43.89 kB / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3899, allocations: 0 / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.39, allocations: 19.98 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.3902, allocations: 7.875 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.3905, allocations: 143.3 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3907, allocations: 0.6807 MB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.3907, allocations: 11.44 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.3907, allocations: 0 / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of Templates: time 0.001851/0.3926, allocations: 0.6634 MB / 0.773 GB, free: 13.39 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)