Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.726/0.726, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 188.4 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000959/0.0009591, allocations: 94.73 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 9.906 kB / 0.5603 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 76.76 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.3482, allocations: 102.7 MB / 0.7356 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.3486, allocations: 75.95 kB / 0.7356 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002972/0.3515, allocations: 0.9566 MB / 0.7366 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3516, allocations: 0 / 0.7366 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3516, allocations: 0 / 0.7366 GB, free: 6.723 MB / 0.5105 GB 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.0004227/0.352, allocations: 347.2 kB / 0.7369 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3521, allocations: 8.031 kB / 0.7369 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.3521, allocations: 11.95 kB / 0.7369 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3522, allocations: 159.1 kB / 0.7371 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3523, allocations: 3.938 kB / 0.7371 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3523, allocations: 0 / 0.7371 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3525, allocations: 53.67 kB / 0.7371 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.3525, allocations: 4 kB / 0.7371 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3525, allocations: 0 / 0.7371 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3525, allocations: 7.984 kB / 0.7371 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3527, allocations: 43.95 kB / 0.7372 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3532, allocations: 272.8 kB / 0.7374 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3534, allocations: 46.53 kB / 0.7375 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/0.3538, allocations: 202.2 kB / 0.7377 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3538, allocations: 34.55 kB / 0.7377 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.3538, allocations: 0 / 0.7377 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003605/0.3542, allocations: 101.6 kB / 0.7378 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3542, allocations: 55.36 kB / 0.7379 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.3543, allocations: 96.98 kB / 0.738 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3544, allocations: 29.64 kB / 0.738 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.3544, allocations: 84.14 kB / 0.7381 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.3544, allocations: 7.969 kB / 0.7381 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.3544, allocations: 4 kB / 0.7381 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3546, allocations: 318.8 kB / 0.7384 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.3547, allocations: 19.98 kB / 0.7384 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.3548, allocations: 19.98 kB / 0.7384 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.3549, allocations: 24.05 kB / 0.7384 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3549, allocations: 0 / 0.7384 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002254/0.3551, allocations: 81.66 kB / 0.7385 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3551, allocations: 10.34 kB / 0.7385 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3551, allocations: 3.938 kB / 0.7385 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3552, allocations: 0 / 0.7385 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.3553, allocations: 11.98 kB / 0.7385 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3553, allocations: 0 / 0.7385 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.3553, allocations: 15.94 kB / 0.7386 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3554, allocations: 0 / 0.7386 GB, free: 4.441 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.3554, allocations: 113.8 kB / 0.7387 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3555, allocations: 4 kB / 0.7387 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3557, allocations: 81.03 kB / 0.7387 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3557, allocations: 4.031 kB / 0.7388 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3558, allocations: 4 kB / 0.7388 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3558, allocations: 0 / 0.7388 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3559, allocations: 161.6 kB / 0.7389 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3559, allocations: 0 / 0.7389 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.356, allocations: 11.98 kB / 0.7389 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.356, allocations: 0 / 0.7389 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.356, allocations: 4 kB / 0.7389 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.356, allocations: 0 / 0.7389 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.356, allocations: 0 / 0.7389 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3563, allocations: 183.3 kB / 0.7391 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3563, allocations: 77.11 kB / 0.7392 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3564, allocations: 4 kB / 0.7392 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.3565, allocations: 12.02 kB / 0.7392 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3565, allocations: 4 kB / 0.7392 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3565, allocations: 0 / 0.7392 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.3566, allocations: 83.28 kB / 0.7393 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3566, allocations: 0 / 0.7393 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002082/0.3568, allocations: 12 kB / 0.7393 GB, free: 3.598 MB / 0.5105 GB 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 (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.0002137/0.357, allocations: 114.9 kB / 0.7394 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3572, allocations: 47.91 kB / 0.7394 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3572, allocations: 0 / 0.7394 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-05/0.3573, allocations: 36.03 kB / 0.7395 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3576, allocations: 7.891 kB / 0.7395 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.358, allocations: 112.6 kB / 0.7396 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3584, allocations: 0.677 MB / 0.7402 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.3585, allocations: 4 kB / 0.7403 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.3585, allocations: 7.5 kB / 0.7403 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/0.3585, allocations: 4 kB / 0.7403 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of Templates: time 0.003921/0.3625, allocations: 0.5236 MB / 0.7408 GB, free: 2.012 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)