Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 98.5 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 183.1 kB / 16.92 MB, free: 6.691 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.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8286/0.8286, allocations: 126.9 MB / 418.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004707, allocations: 8.75 kB / 0.498 GB, free: 9.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4691, allocations: 80.24 MB / 0.5763 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001896/0.4711, allocations: 1.469 MB / 0.5778 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.4721, allocations: 0.6534 MB / 0.5784 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.4722, allocations: 1.312 kB / 0.5784 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.4722, allocations: 6.328 kB / 0.5784 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.4723, allocations: 11.81 kB / 0.5784 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.4728, allocations: 161.5 kB / 0.5786 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.4729, allocations: 115.3 kB / 0.5787 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.4731, allocations: 42.89 kB / 0.5787 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.4732, allocations: 49.56 kB / 0.5788 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.4733, allocations: 44.28 kB / 0.5788 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.4733, allocations: 4.125 kB / 0.5788 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.4734, allocations: 37.61 kB / 0.5789 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.4735, allocations: 23.56 kB / 0.5789 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.4735, allocations: 71.33 kB / 0.5789 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.4737, allocations: 132.7 kB / 0.5791 GB, free: 6.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4737, allocations: 4 kB / 0.5791 GB, free: 6.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4738, allocations: 3.938 kB / 0.5791 GB, free: 6.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.4738, allocations: 1.375 kB / 0.5791 GB, free: 6.051 MB / 430.1 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.0004961/0.4743, allocations: 410.6 kB / 0.5795 GB, free: 5.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4743, allocations: 9.906 kB / 0.5795 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009697/0.4753, allocations: 147.7 kB / 0.5796 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.4754, allocations: 184.9 kB / 0.5798 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.4755, allocations: 70.42 kB / 0.5799 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.4755, allocations: 6.062 kB / 0.5799 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.4761, allocations: 204.1 kB / 0.5801 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4761, allocations: 4 kB / 0.5801 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.4762, allocations: 2.453 kB / 0.5801 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4762, allocations: 1.281 kB / 0.5801 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.4769, allocations: 190.7 kB / 0.5803 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.478, allocations: 0.501 MB / 0.5807 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4792, allocations: 266 kB / 0.581 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.4796, allocations: 99.42 kB / 0.5811 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4796, allocations: 6.344 kB / 0.5811 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.4796, allocations: 35.56 kB / 0.5811 GB, free: 4.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4796, allocations: 0.75 kB / 0.5811 GB, free: 4.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001159/0.4808, allocations: 317.9 kB / 0.5814 GB, free: 4.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.4808, allocations: 51.97 kB / 0.5815 GB, free: 4.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.4809, allocations: 141.9 kB / 0.5816 GB, free: 4.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.4809, allocations: 29.7 kB / 0.5817 GB, free: 4.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.481, allocations: 118.5 kB / 0.5818 GB, free: 4.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.481, allocations: 15.91 kB / 0.5818 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.4811, allocations: 13.69 kB / 0.5818 GB, free: 4.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.4811, allocations: 319.3 kB / 0.5821 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.4815, allocations: 94.59 kB / 0.5822 GB, free: 3.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.4818, allocations: 111.7 kB / 0.5823 GB, free: 3.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.4825, allocations: 201.1 kB / 0.5825 GB, free: 3.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4825, allocations: 0 / 0.5825 GB, free: 3.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007487/0.4833, allocations: 242.3 kB / 0.5827 GB, free: 3.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4833, allocations: 4.719 kB / 0.5827 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4833, allocations: 0.9375 kB / 0.5827 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4833, allocations: 5.641 kB / 0.5827 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.4836, allocations: 42.34 kB / 0.5828 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4836, allocations: 9.75 kB / 0.5828 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.4839, allocations: 46.06 kB / 0.5828 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.4839, allocations: 4.328 kB / 0.5828 GB, free: 3.754 MB / 430.1 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.49e-05/0.484, allocations: 114.3 kB / 0.5829 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.484, allocations: 9.109 kB / 0.5829 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/0.4848, allocations: 243.7 kB / 0.5832 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4848, allocations: 0 / 0.5832 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4848, allocations: 1.031 kB / 0.5832 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4849, allocations: 0.5625 kB / 0.5832 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4851, allocations: 242 kB / 0.5834 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4851, allocations: 0 / 0.5834 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4853, allocations: 40.12 kB / 0.5834 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4854, allocations: 4.609 kB / 0.5835 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4854, allocations: 4.656 kB / 0.5835 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4854, allocations: 5.109 kB / 0.5835 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4854, allocations: 0 / 0.5835 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.4861, allocations: 314.6 kB / 0.5838 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.4862, allocations: 89.75 kB / 0.5838 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.4862, allocations: 3.938 kB / 0.5838 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.4865, allocations: 44.8 kB / 0.5839 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.4866, allocations: 4.156 kB / 0.5839 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.4866, allocations: 8.266 kB / 0.5839 GB, free: 3.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.625e-05/0.4867, allocations: 109.4 kB / 0.584 GB, free: 2.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4867, allocations: 4 kB / 0.584 GB, free: 2.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.4869, allocations: 31.53 kB / 0.584 GB, free: 2.926 MB / 430.1 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 0.0001063/0.4871, allocations: 97.02 kB / 0.5841 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007395/0.4878, allocations: 202.3 kB / 0.5843 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4878, allocations: 4.938 kB / 0.5843 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.4882, allocations: 103.9 kB / 0.5844 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4885, allocations: 9.016 kB / 0.5844 GB, free: 2.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.4892, allocations: 311.3 kB / 0.5847 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.4894, allocations: 0.7031 MB / 0.5854 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.4895, allocations: 11.12 kB / 0.5854 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.4896, allocations: 13.95 kB / 0.5854 GB, free: 1.852 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4896, allocations: 4 kB / 0.5855 GB, free: 1.848 MB / 430.1 MB Notification: Performance of Templates: time 0.005013/0.4946, allocations: 1.358 MB / 0.5868 GB, free: 1.746 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)