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.001502/0.001502, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001543/0.001543, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.465/1.465, 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.8406/0.8406, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.89 kB / 0.4957 GB, free: 2.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3955, allocations: 78.86 MB / 0.5728 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003313/0.3989, allocations: 1.76 MB / 0.5745 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.4001, allocations: 0.6538 MB / 0.5751 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.4002, allocations: 2.375 kB / 0.5751 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.097e-05/0.4003, allocations: 10.97 kB / 0.5751 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/0.4004, allocations: 16.06 kB / 0.5751 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.401, allocations: 176.9 kB / 0.5753 GB, free: 29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.4012, allocations: 116.8 kB / 0.5754 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.4014, allocations: 53.72 kB / 0.5755 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.4016, allocations: 57.22 kB / 0.5755 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4017, allocations: 54.89 kB / 0.5756 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.4017, allocations: 10.78 kB / 0.5756 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4019, allocations: 46.02 kB / 0.5756 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.4019, allocations: 32.27 kB / 0.5757 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.402, allocations: 55.02 kB / 0.5757 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4023, allocations: 144.5 kB / 0.5759 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4023, allocations: 0 / 0.5759 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4023, allocations: 0 / 0.5759 GB, free: 28.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.4023, allocations: 1.375 kB / 0.5759 GB, free: 28.76 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.0006235/0.4029, allocations: 436.9 kB / 0.5763 GB, free: 28.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.403, allocations: 14.91 kB / 0.5763 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009034/0.4039, allocations: 115.4 kB / 0.5764 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.404, allocations: 186.4 kB / 0.5766 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/0.4041, allocations: 65.47 kB / 0.5766 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.4041, allocations: 9.875 kB / 0.5766 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.4047, allocations: 171.3 kB / 0.5768 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4047, allocations: 0 / 0.5768 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.4047, allocations: 5.438 kB / 0.5768 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4047, allocations: 3.203 kB / 0.5768 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.4053, allocations: 161.4 kB / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4065, allocations: 489.8 kB / 0.5774 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.4075, allocations: 220 kB / 0.5777 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.4079, allocations: 79.94 kB / 0.5777 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.4079, allocations: 6.609 kB / 0.5777 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.4079, allocations: 36.12 kB / 0.5778 GB, free: 27.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.4079, allocations: 5.109 kB / 0.5778 GB, free: 27.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001001/0.4089, allocations: 262.8 kB / 0.578 GB, free: 27.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.409, allocations: 53.66 kB / 0.5781 GB, free: 27.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.4091, allocations: 143.5 kB / 0.5782 GB, free: 27.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4091, allocations: 27.8 kB / 0.5782 GB, free: 27.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.4092, allocations: 109.5 kB / 0.5783 GB, free: 26.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.4092, allocations: 18.41 kB / 0.5784 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.4093, allocations: 24.58 kB / 0.5784 GB, free: 26.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.4093, allocations: 322.5 kB / 0.5787 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.4096, allocations: 70.39 kB / 0.5788 GB, free: 26.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.4099, allocations: 93.56 kB / 0.5788 GB, free: 26.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.4105, allocations: 166.4 kB / 0.579 GB, free: 26.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4105, allocations: 0 / 0.579 GB, free: 26.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00065/0.4111, allocations: 208.2 kB / 0.5792 GB, free: 26.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4112, allocations: 5.812 kB / 0.5792 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4112, allocations: 1.719 kB / 0.5792 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4112, allocations: 7.938 kB / 0.5792 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.4115, allocations: 34.61 kB / 0.5793 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4115, allocations: 5.469 kB / 0.5793 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.4117, allocations: 25.09 kB / 0.5793 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.4117, allocations: 7.078 kB / 0.5793 GB, free: 26.27 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.796e-05/0.4118, allocations: 119.7 kB / 0.5794 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.4119, allocations: 9 kB / 0.5794 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/0.4126, allocations: 210.1 kB / 0.5796 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4126, allocations: 1.406 kB / 0.5796 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4126, allocations: 1.312 kB / 0.5796 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4126, allocations: 1.562 kB / 0.5796 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.4128, allocations: 237.6 kB / 0.5798 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4129, allocations: 0 / 0.5798 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.4131, allocations: 32.83 kB / 0.5799 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4131, allocations: 2.188 kB / 0.5799 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.4131, allocations: 9.312 kB / 0.5799 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4131, allocations: 1.156 kB / 0.5799 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4131, allocations: 0 / 0.5799 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.4138, allocations: 285.8 kB / 0.5802 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.4138, allocations: 87.34 kB / 0.5802 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.4139, allocations: 6.781 kB / 0.5802 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.4142, allocations: 28.95 kB / 0.5803 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.4142, allocations: 5.844 kB / 0.5803 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.4142, allocations: 8.484 kB / 0.5803 GB, free: 25.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.238e-05/0.4143, allocations: 107.6 kB / 0.5804 GB, free: 25.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4143, allocations: 1.438 kB / 0.5804 GB, free: 25.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4146, allocations: 23.09 kB / 0.5804 GB, free: 25.3 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.0001233/0.4147, allocations: 101.1 kB / 0.5805 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.4154, allocations: 170.5 kB / 0.5807 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4154, allocations: 2 kB / 0.5807 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.4157, allocations: 78.73 kB / 0.5808 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4161, allocations: 17.03 kB / 0.5808 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.4167, allocations: 265.1 kB / 0.581 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.4169, allocations: 0.701 MB / 0.5817 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.494e-05/0.417, allocations: 14.62 kB / 0.5817 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.417, allocations: 15.89 kB / 0.5817 GB, free: 24.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4171, allocations: 3.938 kB / 0.5817 GB, free: 24.17 MB / 446.1 MB Notification: Performance of Templates: time 0.004103/0.4212, allocations: 1.484 MB / 0.5832 GB, free: 23.43 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)