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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.0009983/0.0009986, allocations: 179.9 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.4553/0.4553, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.233/1.233, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 97.67 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.641e-05, allocations: 4 kB / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3311, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4493, allocations: 101.9 MB / 0.6597 GB, free: 2.441 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4495, allocations: 71.95 kB / 0.6598 GB, free: 2.371 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002916/0.4524, allocations: 1.118 MB / 0.6609 GB, free: 1.262 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4524, allocations: 0 / 0.6609 GB, free: 1.262 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4525, allocations: 0 / 0.6609 GB, free: 1.262 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.0003003/0.4528, allocations: 346.3 kB / 0.6612 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4528, allocations: 11.98 kB / 0.6612 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.4528, allocations: 7.953 kB / 0.6612 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.4529, allocations: 163.1 kB / 0.6614 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.453, allocations: 0 / 0.6614 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.453, allocations: 0 / 0.6614 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/0.4531, allocations: 45.62 kB / 0.6614 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4531, allocations: 0 / 0.6614 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4531, allocations: 1.594 kB / 0.6614 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4531, allocations: 0 / 0.6614 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.4532, allocations: 15.95 kB / 0.6614 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.4535, allocations: 265.8 kB / 0.6617 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.4536, allocations: 26.58 kB / 0.6617 GB, free: 256 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.4536, allocations: 12.86 kB / 0.6617 GB, free: 240 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.4537, allocations: 85.09 kB / 0.6618 GB, free: 136 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4538, allocations: 38.56 kB / 0.6618 GB, free: 88 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4538, allocations: 0 / 0.6618 GB, free: 88 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.4539, allocations: 45.56 kB / 0.6619 GB, free: 36 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.454, allocations: 51.41 kB / 0.6619 GB, free: 15.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.454, allocations: 101 kB / 0.662 GB, free: 15.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4541, allocations: 25.7 kB / 0.6621 GB, free: 15.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.4541, allocations: 84.12 kB / 0.6621 GB, free: 15.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.4541, allocations: 11.84 kB / 0.6621 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.4542, allocations: 4.031 kB / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4543, allocations: 314.8 kB / 0.6625 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.4543, allocations: 7.5 kB / 0.6625 GB, free: 15.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.4543, allocations: 8 kB / 0.6625 GB, free: 15.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.775e-05/0.4543, allocations: 4 kB / 0.6625 GB, free: 15.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4543, allocations: 0 / 0.6625 GB, free: 15.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.187e-05/0.4544, allocations: 45.69 kB / 0.6625 GB, free: 15.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4544, allocations: 4 kB / 0.6625 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4544, allocations: 4.094 kB / 0.6625 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.4545, allocations: 0 / 0.6625 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.4546, allocations: 11.98 kB / 0.6625 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4546, allocations: 7.953 kB / 0.6625 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.4546, allocations: 7.938 kB / 0.6625 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4546, allocations: 4 kB / 0.6626 GB, free: 15.31 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/0.4547, allocations: 105 kB / 0.6627 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.4548, allocations: 7.984 kB / 0.6627 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.4549, allocations: 48.75 kB / 0.6627 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4549, allocations: 4 kB / 0.6627 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.4549, allocations: 0 / 0.6627 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4549, allocations: 3.953 kB / 0.6627 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.455, allocations: 153.7 kB / 0.6629 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.455, allocations: 0 / 0.6629 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.4551, allocations: 11.98 kB / 0.6629 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4551, allocations: 4.031 kB / 0.6629 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4551, allocations: 4 kB / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4551, allocations: 0 / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4551, allocations: 0 / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.4552, allocations: 155.3 kB / 0.663 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.4553, allocations: 77.11 kB / 0.6631 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.4553, allocations: 0 / 0.6631 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.4554, allocations: 16.02 kB / 0.6631 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.4554, allocations: 0 / 0.6631 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.4554, allocations: 0 / 0.6631 GB, free: 14.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.711e-05/0.4555, allocations: 87.53 kB / 0.6632 GB, free: 14.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4555, allocations: 0 / 0.6632 GB, free: 14.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.4557, allocations: 12 kB / 0.6632 GB, free: 14.54 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 (2): * Single equations (assignments): 2 * 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.0001475/0.4558, allocations: 108.8 kB / 0.6633 GB, free: 14.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.4559, allocations: 20 kB / 0.6633 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4559, allocations: 0 / 0.6633 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.456, allocations: 11.94 kB / 0.6633 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.4561, allocations: 5.688 kB / 0.6633 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.4563, allocations: 68.8 kB / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4566, allocations: 0.6809 MB / 0.6641 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.276e-05/0.4566, allocations: 0 / 0.6641 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.4566, allocations: 11.56 kB / 0.6641 GB, free: 13.58 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4566, allocations: 0 / 0.6641 GB, free: 13.58 MB / 490.7 MB Notification: Performance of Templates: time 0.002208/0.4588, allocations: 473.4 kB / 0.6645 GB, free: 13.14 MB / 490.7 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)