Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.001605/0.001605, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7643/0.7643, allocations: 126.1 MB / 417.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 0.495 GB, free: 3.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3907, allocations: 78.71 MB / 0.5718 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.00285/0.3936, allocations: 1.426 MB / 0.5732 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007536/0.3944, allocations: 461.5 kB / 0.5736 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.3944, allocations: 0.875 kB / 0.5736 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.3945, allocations: 4.688 kB / 0.5737 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.3945, allocations: 2.062 kB / 0.5737 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.3948, allocations: 24.56 kB / 0.5737 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.3948, allocations: 32.11 kB / 0.5737 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.395, allocations: 5.609 kB / 0.5737 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.395, allocations: 10.67 kB / 0.5737 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.3951, allocations: 13.45 kB / 0.5737 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.3951, allocations: 3.969 kB / 0.5737 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.3952, allocations: 22.22 kB / 0.5738 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3952, allocations: 6.281 kB / 0.5738 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3952, allocations: 12.55 kB / 0.5738 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3953, allocations: 30.14 kB / 0.5738 GB, free: 29.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3954, allocations: 0.6094 kB / 0.5738 GB, free: 29.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3954, allocations: 1.344 kB / 0.5738 GB, free: 29.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3954, allocations: 0.5938 kB / 0.5738 GB, free: 29.87 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003828/0.3958, allocations: 344.1 kB / 0.5741 GB, free: 29.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3958, allocations: 11.22 kB / 0.5742 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3959, allocations: 2.656 kB / 0.5742 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.616e-05/0.3959, allocations: 171.3 kB / 0.5743 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.396, allocations: 1.75 kB / 0.5743 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.396, allocations: 9.531 kB / 0.5743 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3962, allocations: 54.73 kB / 0.5744 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3962, allocations: 0 / 0.5744 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3962, allocations: 5.469 kB / 0.5744 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3962, allocations: 1.312 kB / 0.5744 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.3964, allocations: 37.33 kB / 0.5744 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.3968, allocations: 253.9 kB / 0.5747 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3969, allocations: 43.7 kB / 0.5747 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.397, allocations: 24.28 kB / 0.5747 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.3971, allocations: 82.84 kB / 0.5748 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3972, allocations: 37.72 kB / 0.5748 GB, free: 28.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3972, allocations: 0 / 0.5748 GB, free: 28.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.3975, allocations: 82.22 kB / 0.5749 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.3976, allocations: 54.42 kB / 0.575 GB, free: 28.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.3976, allocations: 101.9 kB / 0.5751 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.3976, allocations: 26.95 kB / 0.5751 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.3977, allocations: 82.05 kB / 0.5752 GB, free: 28.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3977, allocations: 10.44 kB / 0.5752 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.3977, allocations: 23.48 kB / 0.5752 GB, free: 28.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.3978, allocations: 312 kB / 0.5755 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.3979, allocations: 22.33 kB / 0.5755 GB, free: 28.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.398, allocations: 15.14 kB / 0.5755 GB, free: 28.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3981, allocations: 43.67 kB / 0.5756 GB, free: 28.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3981, allocations: 0 / 0.5756 GB, free: 28.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.3983, allocations: 73.28 kB / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3983, allocations: 5.203 kB / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3983, allocations: 1.594 kB / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3984, allocations: 0 / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.3985, allocations: 10.64 kB / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3985, allocations: 5.562 kB / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3985, allocations: 5.844 kB / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3985, allocations: 1.562 kB / 0.5757 GB, free: 28.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.689e-05/0.3986, allocations: 112.3 kB / 0.5758 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3986, allocations: 4.078 kB / 0.5758 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.3989, allocations: 72.61 kB / 0.5759 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3989, allocations: 1.906 kB / 0.5759 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3989, allocations: 1.594 kB / 0.5759 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3989, allocations: 0 / 0.5759 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.399, allocations: 160.2 kB / 0.576 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.399, allocations: 1.25 kB / 0.576 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.3991, allocations: 9.188 kB / 0.576 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3991, allocations: 2.781 kB / 0.576 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3991, allocations: 3.938 kB / 0.576 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3991, allocations: 1.469 kB / 0.576 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3991, allocations: 6.062 kB / 0.576 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.3993, allocations: 163.9 kB / 0.5762 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.3994, allocations: 88.08 kB / 0.5763 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3994, allocations: 0.6562 kB / 0.5763 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.3995, allocations: 5.703 kB / 0.5763 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.3995, allocations: 4.469 kB / 0.5763 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3995, allocations: 0 / 0.5763 GB, free: 27.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.657e-05/0.3996, allocations: 86.45 kB / 0.5764 GB, free: 27.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3996, allocations: 0 / 0.5764 GB, free: 27.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.3998, allocations: 7.531 kB / 0.5764 GB, free: 27.38 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 (2): * Single equations (assignments): 2 * 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.0001391/0.4, allocations: 103.6 kB / 0.5765 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.4002, allocations: 45.55 kB / 0.5765 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4002, allocations: 0 / 0.5765 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.4003, allocations: 21.77 kB / 0.5765 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.4006, allocations: 12.59 kB / 0.5766 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.4008, allocations: 111.3 kB / 0.5767 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.401, allocations: 0.6772 MB / 0.5773 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.27e-05/0.401, allocations: 1.406 kB / 0.5773 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.401, allocations: 8.812 kB / 0.5773 GB, free: 26.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.401, allocations: 0 / 0.5773 GB, free: 26.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002668/0.4037, allocations: 0.562 MB / 0.5779 GB, free: 26.39 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)