Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8625/0.8625, 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.001497/0.001497, allocations: 178.9 kB / 187.3 MB, free: 11.89 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.386/1.386, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0007937/0.0007936, allocations: 98.53 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 280.8 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.601e-05, allocations: 15.92 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4007, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.5104, allocations: 108.7 MB / 0.8704 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.5108, allocations: 72.62 kB / 0.8704 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004337/0.5151, allocations: 1.367 MB / 0.8718 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5152, allocations: 0 / 0.8718 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5152, allocations: 0 / 0.8718 GB, free: 14.49 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.0004023/0.5156, allocations: 343.9 kB / 0.8721 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5157, allocations: 10.09 kB / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.5157, allocations: 7.922 kB / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.5158, allocations: 170.9 kB / 0.8723 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5159, allocations: 3.953 kB / 0.8723 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.5159, allocations: 0 / 0.8723 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.516, allocations: 41.7 kB / 0.8723 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.516, allocations: 3.984 kB / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.5161, allocations: 3.938 kB / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5161, allocations: 0 / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.5161, allocations: 12 kB / 0.8723 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.5166, allocations: 260.9 kB / 0.8726 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.349e-05/0.5167, allocations: 34.61 kB / 0.8726 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.5167, allocations: 12.92 kB / 0.8726 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.5168, allocations: 77.11 kB / 0.8727 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5169, allocations: 34.5 kB / 0.8727 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.5169, allocations: 0 / 0.8727 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.5171, allocations: 41.7 kB / 0.8728 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.5171, allocations: 59.42 kB / 0.8728 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.5172, allocations: 93 kB / 0.8729 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5172, allocations: 29.7 kB / 0.873 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.5173, allocations: 80.14 kB / 0.873 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.5173, allocations: 7.906 kB / 0.873 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.5173, allocations: 0 / 0.873 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5175, allocations: 310.8 kB / 0.8733 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.5175, allocations: 15.92 kB / 0.8734 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.5175, allocations: 4 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.5175, allocations: 12.02 kB / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5176, allocations: 0 / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.697e-05/0.5176, allocations: 45.64 kB / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5177, allocations: 4 kB / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5177, allocations: 0 / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5177, allocations: 0 / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.5178, allocations: 11.98 kB / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5178, allocations: 0 / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.5179, allocations: 20.02 kB / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.5179, allocations: 0 / 0.8734 GB, free: 12.55 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 7.07e-05/0.518, allocations: 108.9 kB / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.518, allocations: 3.906 kB / 0.8736 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.5181, allocations: 48.75 kB / 0.8736 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5181, allocations: 4 kB / 0.8736 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5181, allocations: 0 / 0.8736 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5181, allocations: 4.031 kB / 0.8736 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.5183, allocations: 157.7 kB / 0.8738 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5183, allocations: 7.891 kB / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.5184, allocations: 12.25 kB / 0.8738 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5184, allocations: 0 / 0.8738 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5184, allocations: 4 kB / 0.8738 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5184, allocations: 7.984 kB / 0.8738 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5184, allocations: 2.422 kB / 0.8738 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.5186, allocations: 135.6 kB / 0.8739 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.5187, allocations: 85 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.5187, allocations: 0 / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.5188, allocations: 11.98 kB / 0.874 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.5188, allocations: 3.984 kB / 0.874 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.5188, allocations: 3.984 kB / 0.874 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.5189, allocations: 83.28 kB / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5189, allocations: 4.031 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002394/0.5191, allocations: 19.94 kB / 0.8741 GB, free: 11.76 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.0001835/0.5193, allocations: 103.2 kB / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.5194, allocations: 12 kB / 0.8742 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5194, allocations: 3.938 kB / 0.8742 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.5195, allocations: 15.98 kB / 0.8743 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.5196, allocations: 7.875 kB / 0.8743 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.5199, allocations: 65.11 kB / 0.8743 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5201, allocations: 0.6809 MB / 0.875 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.5202, allocations: 3.906 kB / 0.875 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.5202, allocations: 7.438 kB / 0.875 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of SimCode: time 7.21e-07/0.5202, allocations: 4 kB / 0.875 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.002294/0.5225, allocations: 474 kB / 0.8755 GB, free: 10.34 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)