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.001179/0.001179, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001182/0.001182, allocations: 196 kB / 17.98 MB, free: 5.031 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.275/1.275, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.12 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3099, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002667/0.3126, allocations: 1.764 MB / 0.5593 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008414/0.3134, allocations: 0.6511 MB / 0.5599 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.3135, allocations: 1.25 kB / 0.5599 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.3135, allocations: 13.56 kB / 0.5599 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.3136, allocations: 14.44 kB / 0.56 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3141, allocations: 172 kB / 0.5601 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3142, allocations: 126 kB / 0.5602 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3144, allocations: 53.53 kB / 0.5603 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3145, allocations: 58.02 kB / 0.5603 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.3146, allocations: 50.16 kB / 0.5604 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.3146, allocations: 12.12 kB / 0.5604 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3147, allocations: 43.62 kB / 0.5604 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.3148, allocations: 32.86 kB / 0.5605 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.3148, allocations: 53.66 kB / 0.5605 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.315, allocations: 145.1 kB / 0.5607 GB, free: 34.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.315, allocations: 5.031 kB / 0.5607 GB, free: 34.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.315, allocations: 0 / 0.5607 GB, free: 34.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3151, allocations: 0.5156 kB / 0.5607 GB, free: 34.63 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.0005749/0.3156, allocations: 444.7 kB / 0.5611 GB, free: 34.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3157, allocations: 10.03 kB / 0.5611 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/0.3165, allocations: 108.3 kB / 0.5612 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3167, allocations: 182.9 kB / 0.5614 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/0.3168, allocations: 65.83 kB / 0.5614 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.3168, allocations: 9.562 kB / 0.5615 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.3173, allocations: 175.4 kB / 0.5616 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3173, allocations: 1.266 kB / 0.5616 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.3174, allocations: 5.875 kB / 0.5616 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3174, allocations: 2.281 kB / 0.5616 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.318, allocations: 160.3 kB / 0.5618 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.319, allocations: 491.5 kB / 0.5623 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/0.3199, allocations: 215.2 kB / 0.5625 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.3202, allocations: 81.84 kB / 0.5625 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3203, allocations: 7.406 kB / 0.5625 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.3203, allocations: 33.25 kB / 0.5626 GB, free: 33.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.3203, allocations: 0 / 0.5626 GB, free: 33.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008802/0.3212, allocations: 266.6 kB / 0.5628 GB, free: 33.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3212, allocations: 57 kB / 0.5629 GB, free: 33.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.3213, allocations: 136.9 kB / 0.563 GB, free: 33.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3213, allocations: 27.59 kB / 0.563 GB, free: 33.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.3214, allocations: 114.1 kB / 0.5631 GB, free: 32.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3214, allocations: 13.66 kB / 0.5632 GB, free: 32.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.3215, allocations: 24.08 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.3215, allocations: 319.9 kB / 0.5635 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.3219, allocations: 75.72 kB / 0.5636 GB, free: 32.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.3224, allocations: 97.98 kB / 0.5637 GB, free: 32.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.3233, allocations: 161.5 kB / 0.5638 GB, free: 32.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3233, allocations: 1.531 kB / 0.5638 GB, free: 32.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009779/0.3243, allocations: 203.3 kB / 0.564 GB, free: 32.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3243, allocations: 5.531 kB / 0.564 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3243, allocations: 2.062 kB / 0.564 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3244, allocations: 5.625 kB / 0.564 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.3247, allocations: 40.36 kB / 0.5641 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3248, allocations: 2.625 kB / 0.5641 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3251, allocations: 33.81 kB / 0.5641 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3251, allocations: 4.203 kB / 0.5641 GB, free: 32.41 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 0.0001233/0.3252, allocations: 116.5 kB / 0.5642 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.3253, allocations: 10.16 kB / 0.5642 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.3264, allocations: 209.2 kB / 0.5644 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3264, allocations: 2.781 kB / 0.5644 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3264, allocations: 0 / 0.5644 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3264, allocations: 9.688 kB / 0.5644 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.3268, allocations: 241 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3268, allocations: 1.531 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3272, allocations: 33.09 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3272, allocations: 0 / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3272, allocations: 7.078 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3272, allocations: 1.062 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3272, allocations: 0.5 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.3282, allocations: 286.7 kB / 0.565 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3283, allocations: 84.55 kB / 0.5651 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3283, allocations: 8.625 kB / 0.5651 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.3288, allocations: 30.97 kB / 0.5651 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.3288, allocations: 4.078 kB / 0.5651 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3289, allocations: 16.19 kB / 0.5651 GB, free: 31.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.329, allocations: 107.4 kB / 0.5652 GB, free: 31.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.329, allocations: 0 / 0.5652 GB, free: 31.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.3295, allocations: 32.81 kB / 0.5652 GB, free: 31.6 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.0001245/0.3296, allocations: 96.39 kB / 0.5653 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009213/0.3305, allocations: 162.6 kB / 0.5655 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3305, allocations: 5.062 kB / 0.5655 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.331, allocations: 82.56 kB / 0.5656 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.3315, allocations: 8.562 kB / 0.5656 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.3324, allocations: 250.9 kB / 0.5658 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3326, allocations: 0.7005 MB / 0.5665 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.3327, allocations: 14.11 kB / 0.5665 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.3328, allocations: 19.14 kB / 0.5665 GB, free: 30.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3328, allocations: 0 / 0.5665 GB, free: 30.59 MB / 446.1 MB Notification: Performance of Templates: time 0.005567/0.3384, allocations: 1.471 MB / 0.568 GB, free: 30.51 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)