Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4577/0.4577, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.3 MB / 348.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008219/0.0008219, allocations: 98.03 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.083e-05, allocations: 8 kB / 0.4896 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4301, allocations: 101.3 MB / 0.6592 GB, free: 2.957 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.4303, allocations: 79.95 kB / 0.6593 GB, free: 2.879 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002029/0.4324, allocations: 0.8656 MB / 0.6601 GB, free: 2.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4324, allocations: 4.969 kB / 0.6601 GB, free: 2.016 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.4324, allocations: 0 / 0.6601 GB, free: 2.016 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002133/0.4326, allocations: 321.8 kB / 0.6604 GB, free: 1.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4327, allocations: 15.92 kB / 0.6605 GB, free: 1.645 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.4327, allocations: 3.953 kB / 0.6605 GB, free: 1.641 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.4328, allocations: 163 kB / 0.6606 GB, free: 1.441 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4328, allocations: 4 kB / 0.6606 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4329, allocations: 7.844 kB / 0.6606 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.943e-05/0.4329, allocations: 33.69 kB / 0.6607 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.433, allocations: 3.25 kB / 0.6607 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.433, allocations: 7.984 kB / 0.6607 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.433, allocations: 0 / 0.6607 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.433, allocations: 7.953 kB / 0.6607 GB, free: 1.375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.4332, allocations: 157.7 kB / 0.6608 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.4333, allocations: 30.52 kB / 0.6609 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.4333, allocations: 17 kB / 0.6609 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.4335, allocations: 85.09 kB / 0.661 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.4335, allocations: 30.56 kB / 0.661 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4335, allocations: 0 / 0.661 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.002326/0.4358, allocations: 346 kB / 0.6613 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.4359, allocations: 59.41 kB / 0.6614 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.209e-05/0.4359, allocations: 85 kB / 0.6615 GB, free: 480 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4359, allocations: 25.7 kB / 0.6615 GB, free: 448 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.436, allocations: 80.14 kB / 0.6616 GB, free: 364 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.436, allocations: 11.81 kB / 0.6616 GB, free: 352 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.436, allocations: 5.031 kB / 0.6616 GB, free: 348 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.4361, allocations: 314.8 kB / 0.6619 GB, free: 24 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.4361, allocations: 11.98 kB / 0.6619 GB, free: 12 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.4362, allocations: 26.58 kB / 0.6619 GB, free: 15.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.4363, allocations: 12 kB / 0.6619 GB, free: 15.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4363, allocations: 0 / 0.6619 GB, free: 15.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001441/0.4364, allocations: 65.53 kB / 0.662 GB, free: 15.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4364, allocations: 9.078 kB / 0.662 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4364, allocations: 4.031 kB / 0.662 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4365, allocations: 8 kB / 0.662 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.4369, allocations: 43.97 kB / 0.662 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4369, allocations: 4.938 kB / 0.662 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.4372, allocations: 39.3 kB / 0.6621 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.4372, allocations: 8 kB / 0.6621 GB, free: 15.79 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.4373, allocations: 116.8 kB / 0.6622 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.4373, allocations: 3.984 kB / 0.6622 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.4376, allocations: 85.14 kB / 0.6623 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.4376, allocations: 0 / 0.6623 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4376, allocations: 0 / 0.6623 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4376, allocations: 4 kB / 0.6623 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.438, allocations: 306.5 kB / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.438, allocations: 2.531 kB / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.4384, allocations: 51.91 kB / 0.6626 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4384, allocations: 4 kB / 0.6626 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4384, allocations: 0 / 0.6626 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4384, allocations: 0 / 0.6626 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4384, allocations: 0 / 0.6626 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.4386, allocations: 155.8 kB / 0.6628 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.4386, allocations: 81.02 kB / 0.6629 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.4387, allocations: 12.06 kB / 0.6629 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.439, allocations: 35.98 kB / 0.6629 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.439, allocations: 11.98 kB / 0.6629 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4391, allocations: 0 / 0.6629 GB, free: 14.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.4391, allocations: 79.23 kB / 0.663 GB, free: 14.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4391, allocations: 0 / 0.663 GB, free: 14.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.4393, allocations: 12 kB / 0.663 GB, free: 14.74 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001276/0.4394, allocations: 103.5 kB / 0.6631 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.4396, allocations: 27.98 kB / 0.6631 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4396, allocations: 192 / 0.6631 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.4396, allocations: 23.94 kB / 0.6632 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.4397, allocations: 1.859 kB / 0.6632 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.4402, allocations: 112.9 kB / 0.6633 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.4404, allocations: 0.6731 MB / 0.6639 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.4407, allocations: 31.98 kB / 0.664 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.4407, allocations: 15.44 kB / 0.664 GB, free: 13.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4407, allocations: 0 / 0.664 GB, free: 13.7 MB / 490.7 MB Notification: Performance of Templates: time 0.002214/0.443, allocations: 0.7958 MB / 0.6647 GB, free: 12.92 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)