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.001332/0.001332, allocations: 103.9 kB / 16.64 MB, free: 6.82 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.001487/0.001488, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.303/1.303, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7348/0.7348, allocations: 122.9 MB / 414.2 MB, free: 136 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.4912 GB, free: 7.863 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3156, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.00265/0.3183, allocations: 1.812 MB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008886/0.3192, allocations: 0.6574 MB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.3192, allocations: 4.75 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.3193, allocations: 6.281 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.3194, allocations: 15.95 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.3199, allocations: 154.1 kB / 0.5699 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.32, allocations: 125.2 kB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3202, allocations: 52.58 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3203, allocations: 62.3 kB / 0.5701 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/0.3204, allocations: 51.31 kB / 0.5702 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.3204, allocations: 10.5 kB / 0.5702 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3205, allocations: 44.53 kB / 0.5702 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.3205, allocations: 38 kB / 0.5703 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3206, allocations: 53.06 kB / 0.5703 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3207, allocations: 93.59 kB / 0.5704 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3208, allocations: 1.219 kB / 0.5704 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3208, allocations: 1.562 kB / 0.5704 GB, free: 30.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3208, allocations: 0 / 0.5704 GB, free: 30.69 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.0004966/0.3213, allocations: 443.7 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3213, allocations: 10.31 kB / 0.5709 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008341/0.3222, allocations: 107.6 kB / 0.571 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.482e-05/0.3223, allocations: 188.9 kB / 0.5711 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.3223, allocations: 59.73 kB / 0.5712 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.3224, allocations: 10.75 kB / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.3229, allocations: 171.6 kB / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3229, allocations: 0 / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3229, allocations: 5.469 kB / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3229, allocations: 2.219 kB / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.3235, allocations: 166.5 kB / 0.5715 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3246, allocations: 488.7 kB / 0.572 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009758/0.3256, allocations: 216.4 kB / 0.5722 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.3259, allocations: 86.12 kB / 0.5723 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3259, allocations: 1.406 kB / 0.5723 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.326, allocations: 31.97 kB / 0.5723 GB, free: 29.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.326, allocations: 1.531 kB / 0.5723 GB, free: 29.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009873/0.327, allocations: 266.3 kB / 0.5726 GB, free: 29.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.327, allocations: 54.2 kB / 0.5726 GB, free: 29.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.3271, allocations: 142.2 kB / 0.5728 GB, free: 29.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3271, allocations: 26.86 kB / 0.5728 GB, free: 29.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.3272, allocations: 110.4 kB / 0.5729 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3272, allocations: 19.09 kB / 0.5729 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.3273, allocations: 28.94 kB / 0.5729 GB, free: 28.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.3273, allocations: 320.8 kB / 0.5732 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.3277, allocations: 73.28 kB / 0.5733 GB, free: 28.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.328, allocations: 95.25 kB / 0.5734 GB, free: 28.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.3286, allocations: 162.2 kB / 0.5736 GB, free: 28.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3286, allocations: 0 / 0.5736 GB, free: 28.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006463/0.3292, allocations: 202.2 kB / 0.5738 GB, free: 28.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3293, allocations: 4.688 kB / 0.5738 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3293, allocations: 5.625 kB / 0.5738 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3293, allocations: 6.281 kB / 0.5738 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.3296, allocations: 40.25 kB / 0.5738 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3296, allocations: 4 kB / 0.5738 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.3298, allocations: 25.52 kB / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3298, allocations: 7.344 kB / 0.5738 GB, free: 28.47 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 7.659e-05/0.3299, allocations: 119.8 kB / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.3299, allocations: 8.188 kB / 0.574 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.3306, allocations: 207.8 kB / 0.5742 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3307, allocations: 6.125 kB / 0.5742 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3307, allocations: 0 / 0.5742 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3307, allocations: 1.016 kB / 0.5742 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3309, allocations: 240.8 kB / 0.5744 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3309, allocations: 1.891 kB / 0.5744 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.3311, allocations: 35.77 kB / 0.5744 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3311, allocations: 0.875 kB / 0.5744 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3312, allocations: 10.45 kB / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-06/0.3312, allocations: 2.547 kB / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3312, allocations: 0 / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.3318, allocations: 288.5 kB / 0.5747 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.3319, allocations: 84.69 kB / 0.5748 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3319, allocations: 4.734 kB / 0.5748 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.3322, allocations: 28.84 kB / 0.5748 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.3323, allocations: 5.141 kB / 0.5748 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3323, allocations: 11.34 kB / 0.5749 GB, free: 27.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.3323, allocations: 104.2 kB / 0.575 GB, free: 27.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3323, allocations: 2.031 kB / 0.575 GB, free: 27.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3326, allocations: 23.09 kB / 0.575 GB, free: 27.67 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.0001037/0.3327, allocations: 96.98 kB / 0.5751 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.3334, allocations: 176.8 kB / 0.5752 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3334, allocations: 0 / 0.5752 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.3337, allocations: 85.98 kB / 0.5753 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3341, allocations: 9.938 kB / 0.5753 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.3347, allocations: 319.8 kB / 0.5756 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3348, allocations: 0.7062 MB / 0.5763 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.3349, allocations: 16.97 kB / 0.5763 GB, free: 26.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3349, allocations: 0 / 0.5763 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Templates: time 0.003228/0.3381, allocations: 1.6 MB / 0.5779 GB, free: 26.37 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)