Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7672/0.7672, allocations: 143.4 MB / 159.2 MB, free: 4.895 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.001121/0.001121, allocations: 189.9 kB / 191.9 MB, free: 5.734 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.55/1.55, allocations: 222.9 MB / 447.3 MB, free: 5.867 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.001083/0.001084, allocations: 111.6 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 291.1 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 75.89 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3485, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002592/0.3511, allocations: 1.826 MB / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.3521, allocations: 0.6701 MB / 0.7703 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.3522, allocations: 0 / 0.7703 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.3522, allocations: 7.922 kB / 0.7704 GB, free: 25.16 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.3523, allocations: 11.88 kB / 0.7704 GB, free: 25.15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.3528, allocations: 163.5 kB / 0.7705 GB, free: 25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3529, allocations: 111.6 kB / 0.7706 GB, free: 24.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3531, allocations: 51.75 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3532, allocations: 59.83 kB / 0.7707 GB, free: 24.78 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.3533, allocations: 51.75 kB / 0.7708 GB, free: 24.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.3533, allocations: 4 kB / 0.7708 GB, free: 24.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.3534, allocations: 43.97 kB / 0.7708 GB, free: 24.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.3534, allocations: 27.89 kB / 0.7709 GB, free: 24.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.3535, allocations: 51.67 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3537, allocations: 135.6 kB / 0.771 GB, free: 24.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3537, allocations: 4 kB / 0.771 GB, free: 24.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3537, allocations: 0 / 0.771 GB, free: 24.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3537, allocations: 0 / 0.771 GB, free: 24.47 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005379/0.3542, allocations: 439 kB / 0.7715 GB, free: 23.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3543, allocations: 12.03 kB / 0.7715 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007573/0.355, allocations: 112.7 kB / 0.7716 GB, free: 23.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.347e-05/0.3551, allocations: 184.1 kB / 0.7718 GB, free: 23.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.3552, allocations: 63.95 kB / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3553, allocations: 8.375 kB / 0.7718 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.3557, allocations: 175.2 kB / 0.772 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3557, allocations: 0 / 0.772 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.3558, allocations: 4 kB / 0.772 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3558, allocations: 0 / 0.772 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.3563, allocations: 159.8 kB / 0.7721 GB, free: 23.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009963/0.3573, allocations: 485.7 kB / 0.7726 GB, free: 22.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.3583, allocations: 222.2 kB / 0.7728 GB, free: 22.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.3586, allocations: 80.91 kB / 0.7729 GB, free: 22.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3586, allocations: 3.984 kB / 0.7729 GB, free: 22.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3587, allocations: 38.55 kB / 0.7729 GB, free: 22.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3587, allocations: 0 / 0.7729 GB, free: 22.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009477/0.3596, allocations: 261.5 kB / 0.7732 GB, free: 22.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.3597, allocations: 51.41 kB / 0.7732 GB, free: 22.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.3598, allocations: 144.3 kB / 0.7734 GB, free: 21.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3598, allocations: 29.7 kB / 0.7734 GB, free: 21.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.3598, allocations: 116.1 kB / 0.7735 GB, free: 21.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.3599, allocations: 15.75 kB / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3599, allocations: 25.7 kB / 0.7736 GB, free: 21.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.36, allocations: 322.8 kB / 0.7739 GB, free: 21.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.3603, allocations: 71.86 kB / 0.7739 GB, free: 21.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.3606, allocations: 98.48 kB / 0.774 GB, free: 21.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.3611, allocations: 162.4 kB / 0.7742 GB, free: 21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3611, allocations: 0 / 0.7742 GB, free: 21 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006124/0.3617, allocations: 213.3 kB / 0.7744 GB, free: 20.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.3617, allocations: 4 kB / 0.7744 GB, free: 20.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3617, allocations: 320 / 0.7744 GB, free: 20.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.3618, allocations: 3.938 kB / 0.7744 GB, free: 20.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.362, allocations: 35.95 kB / 0.7744 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.362, allocations: 4 kB / 0.7744 GB, free: 20.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.3622, allocations: 27.95 kB / 0.7745 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3622, allocations: 4 kB / 0.7745 GB, free: 20.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.309e-05/0.3623, allocations: 117.8 kB / 0.7746 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.3623, allocations: 7.906 kB / 0.7746 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.363, allocations: 214.1 kB / 0.7748 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.363, allocations: 0 / 0.7748 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.363, allocations: 0 / 0.7748 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.363, allocations: 3.938 kB / 0.7748 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.3632, allocations: 226.4 kB / 0.775 GB, free: 20.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3632, allocations: 0 / 0.775 GB, free: 20.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.3634, allocations: 31.95 kB / 0.775 GB, free: 20.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3634, allocations: 0 / 0.775 GB, free: 20.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3635, allocations: 15.94 kB / 0.775 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3635, allocations: 3.984 kB / 0.7751 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3635, allocations: 0 / 0.7751 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3645, allocations: 0.9228 MB / 0.776 GB, free: 19.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.3645, allocations: 81.02 kB / 0.776 GB, free: 18.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.3645, allocations: 0 / 0.776 GB, free: 18.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.3648, allocations: 31.95 kB / 0.7761 GB, free: 18.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3649, allocations: 11.92 kB / 0.7761 GB, free: 18.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3649, allocations: 11.98 kB / 0.7761 GB, free: 18.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.418e-05/0.3649, allocations: 109.5 kB / 0.7762 GB, free: 18.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.365, allocations: 0 / 0.7762 GB, free: 18.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.3653, allocations: 27.84 kB / 0.7762 GB, free: 18.77 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 (6): * Single equations (assignments): 6 * 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 9.15e-05/0.3654, allocations: 95.78 kB / 0.7763 GB, free: 18.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.366, allocations: 167.9 kB / 0.7765 GB, free: 18.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.366, allocations: 0 / 0.7765 GB, free: 18.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.3663, allocations: 84.03 kB / 0.7765 GB, free: 18.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3667, allocations: 16.06 kB / 0.7766 GB, free: 18.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.3674, allocations: 420.1 kB / 0.777 GB, free: 17.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3675, allocations: 0.7004 MB / 0.7776 GB, free: 17.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.349e-05/0.3676, allocations: 23.97 kB / 0.7777 GB, free: 17.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.3677, allocations: 11.44 kB / 0.7777 GB, free: 17.2 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3677, allocations: 0 / 0.7777 GB, free: 17.2 MB / 458.7 MB Notification: Performance of Templates: time 0.002818/0.3705, allocations: 1.41 MB / 0.7791 GB, free: 15.8 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)