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.9094/0.9094, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001038/0.001037, allocations: 179.8 kB / 182.2 MB, free: 9.461 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.366/1.366, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009687/0.0009688, allocations: 96.08 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 275.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.903e-05, allocations: 8 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3641, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4925, allocations: 108.3 MB / 0.8632 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.4929, allocations: 79.83 kB / 0.8632 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003732/0.4966, allocations: 1.104 MB / 0.8643 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4967, allocations: 0 / 0.8643 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.4967, allocations: 4 kB / 0.8643 GB, free: 2.336 MB / 0.5261 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.0003498/0.4971, allocations: 334.5 kB / 0.8646 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4971, allocations: 8.031 kB / 0.8646 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.4971, allocations: 7.938 kB / 0.8646 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4973, allocations: 174.9 kB / 0.8648 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4973, allocations: 3.953 kB / 0.8648 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.4973, allocations: 4 kB / 0.8648 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.427e-05/0.4974, allocations: 8 kB / 0.8648 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.4975, allocations: 33.69 kB / 0.8649 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.4975, allocations: 0 / 0.8649 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.4975, allocations: 0 / 0.8649 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4975, allocations: 4 kB / 0.8649 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.4979, allocations: 249.4 kB / 0.8651 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.4979, allocations: 26.55 kB / 0.8651 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.498, allocations: 12.92 kB / 0.8651 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.4981, allocations: 85.09 kB / 0.8652 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4981, allocations: 30.56 kB / 0.8653 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.4981, allocations: 4 kB / 0.8653 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002328/0.4984, allocations: 49.67 kB / 0.8653 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4984, allocations: 59.34 kB / 0.8654 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.4985, allocations: 93.19 kB / 0.8654 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4985, allocations: 25.7 kB / 0.8655 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.4986, allocations: 80.14 kB / 0.8655 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.4986, allocations: 11.84 kB / 0.8656 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.4986, allocations: 0 / 0.8656 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.4987, allocations: 322.9 kB / 0.8659 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.4987, allocations: 7.938 kB / 0.8659 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.4987, allocations: 4 kB / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.4988, allocations: 15.98 kB / 0.8659 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4988, allocations: 0 / 0.8659 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001327/0.499, allocations: 53.64 kB / 0.8659 GB, free: 456 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.499, allocations: 4 kB / 0.8659 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.499, allocations: 64 / 0.8659 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.499, allocations: 4.094 kB / 0.866 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.4992, allocations: 15.98 kB / 0.866 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.4992, allocations: 0 / 0.866 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.4993, allocations: 11.98 kB / 0.866 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.4993, allocations: 0 / 0.866 GB, free: 420 kB / 0.5261 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 6.979e-05/0.4993, allocations: 104.9 kB / 0.8661 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.4994, allocations: 11.86 kB / 0.8661 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.4996, allocations: 61.36 kB / 0.8661 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4996, allocations: 0 / 0.8661 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4996, allocations: 0 / 0.8661 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4996, allocations: 4 kB / 0.8662 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.4997, allocations: 134.2 kB / 0.8663 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4997, allocations: 0 / 0.8663 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.4998, allocations: 11.98 kB / 0.8663 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4998, allocations: 0 / 0.8663 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4998, allocations: 3.953 kB / 0.8663 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4998, allocations: 7.859 kB / 0.8663 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4998, allocations: 0 / 0.8663 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.5, allocations: 147.5 kB / 0.8664 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.5001, allocations: 77.11 kB / 0.8665 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.5001, allocations: 7.938 kB / 0.8665 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.5002, allocations: 11.94 kB / 0.8665 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.5002, allocations: 4.031 kB / 0.8665 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.5002, allocations: 4 kB / 0.8665 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.5003, allocations: 83.28 kB / 0.8666 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5003, allocations: 0 / 0.8666 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002393/0.5005, allocations: 11.91 kB / 0.8666 GB, free: 15.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.0001384/0.5007, allocations: 103.2 kB / 0.8667 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.771e-05/0.5008, allocations: 15.94 kB / 0.8667 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5008, allocations: 0 / 0.8667 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.5008, allocations: 8.062 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.501, allocations: 4 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.5012, allocations: 69.44 kB / 0.8668 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.5014, allocations: 0.6845 MB / 0.8675 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.5015, allocations: 0 / 0.8675 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.5015, allocations: 7.438 kB / 0.8675 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5015, allocations: 0 / 0.8675 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.002264/0.5038, allocations: 465.7 kB / 0.8679 GB, free: 14.27 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)