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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7136/0.7136, allocations: 117.9 MB / 133.9 MB, free: 9.227 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.001007/0.001007, allocations: 180.5 kB / 161.7 MB, free: 13.98 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.612/1.612, allocations: 205.4 MB / 394.8 MB, free: 10.1 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.0008803/0.0008803, allocations: 91.3 kB / 470.1 MB, free: 29.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 12 kB / 0.5423 GB, free: 9.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1698, allocations: 74.55 MB / 0.6151 GB, free: 15.17 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5366/0.7065, allocations: 101.5 MB / 0.7143 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.7068, allocations: 75.89 kB / 0.7144 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002621/0.7095, allocations: 0.9502 MB / 0.7153 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.807e-06/0.7095, allocations: 0 / 0.7153 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.7095, allocations: 0 / 0.7153 GB, free: 30.93 MB / 0.4948 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.0003511/0.7099, allocations: 349.2 kB / 0.7156 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7099, allocations: 8.031 kB / 0.7156 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.71, allocations: 4.938 kB / 0.7156 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7101, allocations: 167.3 kB / 0.7158 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.7101, allocations: 384 / 0.7158 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.7102, allocations: 384 / 0.7158 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.7103, allocations: 64.45 kB / 0.7159 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7104, allocations: 192 / 0.7159 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.7104, allocations: 3.938 kB / 0.7159 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7104, allocations: 0 / 0.7159 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.7106, allocations: 45.55 kB / 0.7159 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.7109, allocations: 267.6 kB / 0.7162 GB, free: 29.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.7111, allocations: 51.8 kB / 0.7162 GB, free: 29.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.7112, allocations: 25.7 kB / 0.7162 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.7115, allocations: 208.8 kB / 0.7164 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.7115, allocations: 31.12 kB / 0.7165 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.7115, allocations: 0 / 0.7165 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003569/0.7119, allocations: 97.28 kB / 0.7165 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.7119, allocations: 55.41 kB / 0.7166 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.712, allocations: 103.5 kB / 0.7167 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.712, allocations: 25.7 kB / 0.7167 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.7121, allocations: 88.12 kB / 0.7168 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.7121, allocations: 8.453 kB / 0.7168 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.7121, allocations: 0 / 0.7168 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.7122, allocations: 318.3 kB / 0.7171 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.7123, allocations: 22.06 kB / 0.7171 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.7123, allocations: 25.39 kB / 0.7172 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.7125, allocations: 47.64 kB / 0.7172 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7125, allocations: 4 kB / 0.7172 GB, free: 28.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/0.7127, allocations: 79.94 kB / 0.7173 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7127, allocations: 10.34 kB / 0.7173 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.7127, allocations: 1.75 kB / 0.7173 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7127, allocations: 0 / 0.7173 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.7128, allocations: 14.52 kB / 0.7173 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7128, allocations: 4 kB / 0.7173 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.7129, allocations: 11.97 kB / 0.7173 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.7129, allocations: 0.7812 kB / 0.7173 GB, free: 28.78 MB / 0.4948 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 5.372e-05/0.713, allocations: 121.3 kB / 0.7174 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.713, allocations: 7.891 kB / 0.7175 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.7132, allocations: 83.8 kB / 0.7175 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.7132, allocations: 3.469 kB / 0.7175 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7132, allocations: 0 / 0.7175 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7132, allocations: 0 / 0.7175 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.7134, allocations: 164.9 kB / 0.7177 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7134, allocations: 0 / 0.7177 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.7134, allocations: 11.33 kB / 0.7177 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7134, allocations: 0 / 0.7177 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.7134, allocations: 2.844 kB / 0.7177 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7135, allocations: 8.234 kB / 0.7177 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7135, allocations: 0 / 0.7177 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.7137, allocations: 177.2 kB / 0.7179 GB, free: 28.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.7137, allocations: 81.14 kB / 0.718 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.7137, allocations: 0 / 0.718 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.7138, allocations: 10.39 kB / 0.718 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.7138, allocations: 1.266 kB / 0.718 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.7138, allocations: 0.5 kB / 0.718 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.7139, allocations: 85.55 kB / 0.7181 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7139, allocations: 0 / 0.7181 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002259/0.7141, allocations: 12.66 kB / 0.7181 GB, free: 28 MB / 0.4948 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.0001533/0.7143, allocations: 108.3 kB / 0.7182 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.7145, allocations: 48.77 kB / 0.7182 GB, free: 27.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7145, allocations: 7.594 kB / 0.7182 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.7146, allocations: 25.27 kB / 0.7183 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.7149, allocations: 11.14 kB / 0.7183 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.7152, allocations: 107 kB / 0.7184 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.7154, allocations: 0.68 MB / 0.719 GB, free: 27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.7154, allocations: 7.188 kB / 0.719 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.7155, allocations: 8.094 kB / 0.719 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.7155, allocations: 0 / 0.719 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.002881/0.7184, allocations: 0.5303 MB / 0.7196 GB, free: 26.68 MB / 0.4948 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)