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.8322/0.8322, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 183.4 kB / 191.5 MB, free: 5.758 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.559/1.559, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009366/0.0009366, allocations: 96.25 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 274.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 11.47 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.2981, allocations: 109.1 MB / 0.8802 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.2984, allocations: 77.98 kB / 0.8803 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3158/0.6142, allocations: 1.111 MB / 0.8814 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6142, allocations: 0 / 0.8814 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.6142, allocations: 0.8438 kB / 0.8814 GB, free: 109.2 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.0003363/0.6146, allocations: 345.1 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.6146, allocations: 8.656 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.6147, allocations: 6.656 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.6147, allocations: 167.5 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.6148, allocations: 9.016 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.6148, allocations: 0.9375 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.615, allocations: 55.95 kB / 0.8819 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.615, allocations: 1.531 kB / 0.8819 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.615, allocations: 0 / 0.8819 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.615, allocations: 4.781 kB / 0.8819 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.6152, allocations: 42.38 kB / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.6156, allocations: 275 kB / 0.8822 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.6157, allocations: 44.95 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.6158, allocations: 81.91 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.6158, allocations: 36.45 kB / 0.8824 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.6159, allocations: 1.219 kB / 0.8824 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000359/0.6162, allocations: 101.5 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.6163, allocations: 51.41 kB / 0.8825 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.24e-05/0.6163, allocations: 101.6 kB / 0.8826 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.6163, allocations: 25.7 kB / 0.8827 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.6164, allocations: 86.86 kB / 0.8828 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.6164, allocations: 3.5 kB / 0.8828 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.6164, allocations: 3.938 kB / 0.8828 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.6165, allocations: 314.2 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.6165, allocations: 25.17 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.6166, allocations: 22.73 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.6167, allocations: 20.56 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6167, allocations: 3.953 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.6169, allocations: 85.39 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6169, allocations: 6 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.617, allocations: 1 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.617, allocations: 0 / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.6171, allocations: 15.05 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.6171, allocations: 4.031 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.6171, allocations: 11.52 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.6171, allocations: 1.969 kB / 0.8832 GB, free: 107.5 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 () * 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 4.942e-05/0.6172, allocations: 107.7 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.6172, allocations: 5.266 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.6175, allocations: 86.84 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.6175, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6175, allocations: 0.875 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6175, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.6176, allocations: 157.5 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6176, allocations: 3.938 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.6177, allocations: 22.33 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6177, allocations: 0.6562 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6177, allocations: 3.656 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6177, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6177, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.6179, allocations: 172.7 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.618, allocations: 83.05 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.618, allocations: 3.953 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.6181, allocations: 8.219 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.6181, allocations: 3.312 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.6181, allocations: 1.766 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.6182, allocations: 88.98 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6182, allocations: 2.969 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002125/0.6184, allocations: 14.41 kB / 0.884 GB, free: 106.9 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 () * 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.0001355/0.6185, allocations: 106.1 kB / 0.8841 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.6187, allocations: 49.92 kB / 0.8841 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6188, allocations: 3.438 kB / 0.8841 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.6188, allocations: 21.14 kB / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.619, allocations: 10.72 kB / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.6193, allocations: 108.8 kB / 0.8843 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.6194, allocations: 0.6779 MB / 0.8849 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.6195, allocations: 3.906 kB / 0.8849 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.6195, allocations: 9.969 kB / 0.8849 GB, free: 106 MB / 0.5417 GB Notification: Performance of SimCode: time 1.362e-06/0.6195, allocations: 0 / 0.8849 GB, free: 106 MB / 0.5417 GB Notification: Performance of Templates: time 0.00229/0.6218, allocations: 491 kB / 0.8854 GB, free: 105.9 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)