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: 103.1 kB / 16.27 MB, free: 5.965 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.00153/0.00153, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7825/0.7825, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 63.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4426, allocations: 77.92 MB / 0.5672 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.00361/0.4462, allocations: 1.758 MB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.4476, allocations: 0.6524 MB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.4477, allocations: 1.719 kB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.911e-05/0.4478, allocations: 11.23 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.925e-05/0.4478, allocations: 21.05 kB / 0.5696 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.4485, allocations: 171 kB / 0.5697 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.4487, allocations: 121 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.4489, allocations: 51.81 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.4491, allocations: 57.19 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.4492, allocations: 52.78 kB / 0.57 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.4493, allocations: 9.5 kB / 0.57 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.4494, allocations: 49.03 kB / 0.5701 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.4495, allocations: 29.38 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.4496, allocations: 55.62 kB / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.4499, allocations: 145.3 kB / 0.5703 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4499, allocations: 1.688 kB / 0.5703 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4499, allocations: 0 / 0.5703 GB, free: 30.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.4499, allocations: 0 / 0.5703 GB, free: 30.62 MB / 446.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.0007135/0.4506, allocations: 438.9 kB / 0.5707 GB, free: 30.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.4507, allocations: 11.47 kB / 0.5707 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.4517, allocations: 111.4 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.4518, allocations: 185.4 kB / 0.571 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.4519, allocations: 70.69 kB / 0.5711 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.4519, allocations: 9.906 kB / 0.5711 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.4525, allocations: 175.4 kB / 0.5712 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4525, allocations: 1.062 kB / 0.5712 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.4525, allocations: 2.094 kB / 0.5712 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4525, allocations: 1.469 kB / 0.5712 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.4532, allocations: 157.7 kB / 0.5714 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.4543, allocations: 491 kB / 0.5719 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.4554, allocations: 218.8 kB / 0.5721 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.4558, allocations: 82.97 kB / 0.5722 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.4558, allocations: 1.906 kB / 0.5722 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4558, allocations: 36.75 kB / 0.5722 GB, free: 29.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4558, allocations: 0.625 kB / 0.5722 GB, free: 29.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001053/0.4569, allocations: 267.2 kB / 0.5724 GB, free: 29.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.4569, allocations: 52.28 kB / 0.5725 GB, free: 29.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.457, allocations: 140.7 kB / 0.5726 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.4571, allocations: 27.77 kB / 0.5727 GB, free: 29.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.4571, allocations: 110 kB / 0.5728 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.4572, allocations: 21.91 kB / 0.5728 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.4572, allocations: 23.09 kB / 0.5728 GB, free: 28.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.4573, allocations: 320 kB / 0.5731 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.4576, allocations: 71.83 kB / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.4579, allocations: 94.7 kB / 0.5733 GB, free: 28.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.4586, allocations: 165 kB / 0.5734 GB, free: 28.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4586, allocations: 1.625 kB / 0.5734 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007111/0.4593, allocations: 204.4 kB / 0.5736 GB, free: 28.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4593, allocations: 5.797 kB / 0.5736 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4593, allocations: 3.984 kB / 0.5736 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4594, allocations: 6.594 kB / 0.5736 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.4597, allocations: 36.12 kB / 0.5737 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4597, allocations: 2 kB / 0.5737 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4599, allocations: 31.73 kB / 0.5737 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.4599, allocations: 4.375 kB / 0.5737 GB, free: 28.4 MB / 446.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 8.849e-05/0.46, allocations: 122.8 kB / 0.5738 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.46, allocations: 8.844 kB / 0.5738 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/0.4608, allocations: 207.5 kB / 0.574 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4608, allocations: 6 kB / 0.574 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4608, allocations: 0.8438 kB / 0.574 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4608, allocations: 0.6562 kB / 0.574 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.4611, allocations: 242 kB / 0.5743 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4611, allocations: 0 / 0.5743 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.4614, allocations: 32.88 kB / 0.5743 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4614, allocations: 4.906 kB / 0.5743 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.4614, allocations: 10.91 kB / 0.5743 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4614, allocations: 0 / 0.5743 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4614, allocations: 9.078 kB / 0.5743 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.4621, allocations: 278 kB / 0.5746 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.4622, allocations: 84.83 kB / 0.5747 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.4622, allocations: 5.906 kB / 0.5747 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.4625, allocations: 33.47 kB / 0.5747 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.4626, allocations: 5.734 kB / 0.5747 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.4626, allocations: 7.484 kB / 0.5747 GB, free: 27.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.366e-05/0.4627, allocations: 108.4 kB / 0.5748 GB, free: 27.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4627, allocations: 0 / 0.5748 GB, free: 27.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.463, allocations: 23.06 kB / 0.5748 GB, free: 27.59 MB / 446.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.0001207/0.4631, allocations: 101.7 kB / 0.5749 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.4638, allocations: 167 kB / 0.5751 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4638, allocations: 1.094 kB / 0.5751 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.4642, allocations: 86.83 kB / 0.5752 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.4645, allocations: 9.531 kB / 0.5752 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.4652, allocations: 259.6 kB / 0.5754 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.4653, allocations: 0.7036 MB / 0.5761 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.392e-05/0.4654, allocations: 15.5 kB / 0.5761 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.4655, allocations: 12.83 kB / 0.5762 GB, free: 26.57 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4655, allocations: 1.969 kB / 0.5762 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Templates: time 0.004282/0.4698, allocations: 1.479 MB / 0.5776 GB, free: 26.46 MB / 446.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)