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.00158/0.00158, allocations: 101.7 kB / 16.27 MB, free: 5.984 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.001718/0.001719, allocations: 188.4 kB / 17.19 MB, free: 5.613 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7958/0.7958, allocations: 126.4 MB / 417.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 63.89 kB / 0.4953 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.408, allocations: 78.78 MB / 0.5723 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003129/0.4112, allocations: 1.758 MB / 0.574 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.4125, allocations: 0.6557 MB / 0.5746 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.4126, allocations: 1.281 kB / 0.5746 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.4127, allocations: 11.66 kB / 0.5746 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.4128, allocations: 18.34 kB / 0.5746 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.4133, allocations: 171.8 kB / 0.5748 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.4135, allocations: 116.9 kB / 0.5749 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.4136, allocations: 56.88 kB / 0.575 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.4138, allocations: 62.56 kB / 0.575 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.4139, allocations: 50.91 kB / 0.5751 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.4139, allocations: 11.22 kB / 0.5751 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.414, allocations: 45.34 kB / 0.5751 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.4141, allocations: 32.75 kB / 0.5752 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.4141, allocations: 52.34 kB / 0.5752 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.4144, allocations: 150.8 kB / 0.5754 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4144, allocations: 0 / 0.5754 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4144, allocations: 0 / 0.5754 GB, free: 29.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4144, allocations: 5.312 kB / 0.5754 GB, free: 29.1 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.0005551/0.415, allocations: 437.1 kB / 0.5758 GB, free: 28.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.415, allocations: 10.22 kB / 0.5758 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.4159, allocations: 119.9 kB / 0.5759 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.604e-05/0.416, allocations: 181.2 kB / 0.5761 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.704e-05/0.4161, allocations: 59.42 kB / 0.5761 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4161, allocations: 11.41 kB / 0.5762 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.4167, allocations: 172.2 kB / 0.5763 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4167, allocations: 0.6094 kB / 0.5763 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.4167, allocations: 6.469 kB / 0.5763 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.4168, allocations: 2.438 kB / 0.5763 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.4174, allocations: 156.5 kB / 0.5765 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.4185, allocations: 494.6 kB / 0.5769 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.4196, allocations: 216.4 kB / 0.5772 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.4199, allocations: 79.38 kB / 0.5772 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.42, allocations: 5.562 kB / 0.5772 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.42, allocations: 37.41 kB / 0.5773 GB, free: 27.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.42, allocations: 1.094 kB / 0.5773 GB, free: 27.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001015/0.421, allocations: 262.8 kB / 0.5775 GB, free: 27.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.4211, allocations: 52.78 kB / 0.5776 GB, free: 27.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.4212, allocations: 141.6 kB / 0.5777 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.4212, allocations: 27.08 kB / 0.5777 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.4212, allocations: 113.7 kB / 0.5778 GB, free: 27.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4213, allocations: 18.47 kB / 0.5779 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.4213, allocations: 23.8 kB / 0.5779 GB, free: 27.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.4214, allocations: 322.3 kB / 0.5782 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.4217, allocations: 71.33 kB / 0.5783 GB, free: 26.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.422, allocations: 96.88 kB / 0.5783 GB, free: 26.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.4226, allocations: 164.3 kB / 0.5785 GB, free: 26.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4226, allocations: 0 / 0.5785 GB, free: 26.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006518/0.4232, allocations: 204.4 kB / 0.5787 GB, free: 26.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4233, allocations: 7.594 kB / 0.5787 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4233, allocations: 0.5938 kB / 0.5787 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4233, allocations: 10.03 kB / 0.5787 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.4236, allocations: 39.52 kB / 0.5788 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4236, allocations: 2.625 kB / 0.5788 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.4238, allocations: 24.25 kB / 0.5788 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.4238, allocations: 7.453 kB / 0.5788 GB, free: 26.54 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.105e-05/0.4239, allocations: 120.8 kB / 0.5789 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.4239, allocations: 12.56 kB / 0.5789 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006955/0.4246, allocations: 210.2 kB / 0.5791 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4247, allocations: 1.688 kB / 0.5791 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4247, allocations: 3.938 kB / 0.5791 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.4247, allocations: 0 / 0.5791 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.4249, allocations: 238.6 kB / 0.5793 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4249, allocations: 0 / 0.5793 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4251, allocations: 31.98 kB / 0.5794 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4251, allocations: 2.25 kB / 0.5794 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4251, allocations: 8.5 kB / 0.5794 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4251, allocations: 0.7188 kB / 0.5794 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4251, allocations: 2.031 kB / 0.5794 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.4258, allocations: 286.1 kB / 0.5797 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.4258, allocations: 83.58 kB / 0.5797 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4258, allocations: 7.922 kB / 0.5798 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.4262, allocations: 35.66 kB / 0.5798 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.4262, allocations: 5.438 kB / 0.5798 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4262, allocations: 9.359 kB / 0.5798 GB, free: 25.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.717e-05/0.4263, allocations: 104.7 kB / 0.5799 GB, free: 25.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4263, allocations: 0 / 0.5799 GB, free: 25.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.4266, allocations: 25.25 kB / 0.5799 GB, free: 25.57 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.0001056/0.4267, allocations: 106.1 kB / 0.58 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.4273, allocations: 164.3 kB / 0.5802 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4274, allocations: 7.25 kB / 0.5802 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.4277, allocations: 74.23 kB / 0.5803 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.428, allocations: 12.3 kB / 0.5803 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.4286, allocations: 270 kB / 0.5805 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.4287, allocations: 0.7037 MB / 0.5812 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.325e-05/0.4288, allocations: 18.72 kB / 0.5812 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.4289, allocations: 14.2 kB / 0.5812 GB, free: 24.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4289, allocations: 1.125 kB / 0.5812 GB, free: 24.43 MB / 446.1 MB Notification: Performance of Templates: time 0.003516/0.4324, allocations: 1.471 MB / 0.5827 GB, free: 23.69 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)