Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7414/0.7414, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 186.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008878, allocations: 97.78 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 276.4 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.387e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4115, allocations: 82.78 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.5311, allocations: 109 MB / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.5314, allocations: 71.84 kB / 0.8708 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00292/0.5343, allocations: 1.11 MB / 0.8719 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5343, allocations: 0 / 0.8719 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.5343, allocations: 4 kB / 0.8719 GB, free: 14.38 MB / 0.5417 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.0002993/0.5346, allocations: 330.5 kB / 0.8722 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5347, allocations: 12.03 kB / 0.8722 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.5347, allocations: 4 kB / 0.8722 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.5348, allocations: 167 kB / 0.8724 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5348, allocations: 7.953 kB / 0.8724 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.5349, allocations: 4 kB / 0.8724 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.297e-05/0.5349, allocations: 33.7 kB / 0.8724 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.535, allocations: 3.984 kB / 0.8724 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.535, allocations: 7.938 kB / 0.8724 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.535, allocations: 4 kB / 0.8724 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.535, allocations: 4 kB / 0.8724 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.5354, allocations: 272.9 kB / 0.8727 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.5355, allocations: 26.58 kB / 0.8727 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.5355, allocations: 8.922 kB / 0.8727 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.5356, allocations: 85.09 kB / 0.8728 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.5357, allocations: 38.5 kB / 0.8728 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5357, allocations: 0 / 0.8728 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.5358, allocations: 37.7 kB / 0.8729 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.5359, allocations: 59.44 kB / 0.8729 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.5359, allocations: 92.98 kB / 0.873 GB, free: 13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.536, allocations: 25.7 kB / 0.873 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.536, allocations: 88.14 kB / 0.8731 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.5361, allocations: 15.77 kB / 0.8731 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.5361, allocations: 0 / 0.8731 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5362, allocations: 314.8 kB / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.5362, allocations: 4 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.5362, allocations: 8 kB / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.5362, allocations: 15.94 kB / 0.8735 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5363, allocations: 0 / 0.8735 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.895e-05/0.5363, allocations: 41.64 kB / 0.8735 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5363, allocations: 8 kB / 0.8735 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5364, allocations: 0 / 0.8735 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5364, allocations: 0 / 0.8735 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.5365, allocations: 15.92 kB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.5365, allocations: 4.094 kB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/0.5365, allocations: 11.98 kB / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.5366, allocations: 0 / 0.8735 GB, free: 12.43 MB / 0.5417 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 () * 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.838e-05/0.5366, allocations: 104.9 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.5366, allocations: 7.906 kB / 0.8737 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.5368, allocations: 52.75 kB / 0.8737 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5368, allocations: 0 / 0.8737 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5368, allocations: 4.031 kB / 0.8737 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5368, allocations: 0 / 0.8737 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.5369, allocations: 157.7 kB / 0.8739 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.537, allocations: 7.938 kB / 0.8739 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.537, allocations: 8 kB / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.537, allocations: 256 / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.537, allocations: 0 / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.537, allocations: 4 kB / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5371, allocations: 0 / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.5372, allocations: 143.5 kB / 0.874 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.5372, allocations: 85 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5372, allocations: 4 kB / 0.8741 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.5373, allocations: 7.984 kB / 0.8741 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5374, allocations: 4 kB / 0.8741 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.5374, allocations: 0 / 0.8741 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.5374, allocations: 91.3 kB / 0.8742 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.282e-06/0.5374, allocations: 0 / 0.8742 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002195/0.5377, allocations: 11.94 kB / 0.8742 GB, free: 11.66 MB / 0.5417 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 () * 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.0001658/0.5378, allocations: 99.25 kB / 0.8743 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.277e-05/0.5379, allocations: 12 kB / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.5379, allocations: 0 / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.5379, allocations: 8 kB / 0.8743 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.5381, allocations: 12.12 kB / 0.8743 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.5383, allocations: 76.7 kB / 0.8744 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.5386, allocations: 0.6809 MB / 0.8751 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.5386, allocations: 3.984 kB / 0.8751 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.5387, allocations: 7.438 kB / 0.8751 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/0.5387, allocations: 0 / 0.8751 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.00223/0.5409, allocations: 493.2 kB / 0.8756 GB, free: 10.23 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)