Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8664/0.8664, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001315/0.001315, allocations: 184.7 kB / 191.5 MB, free: 5.75 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.532/1.532, allocations: 223.2 MB / 447.7 MB, free: 6.527 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.0009624/0.0009624, allocations: 92.25 kB / 0.5188 GB, free: 2.871 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 278.8 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004446, allocations: 16 kB / 0.6929 GB, free: 2.277 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3576, allocations: 82.77 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4967, allocations: 108.2 MB / 0.8794 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.497, allocations: 79.83 kB / 0.8794 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005732/0.5027, allocations: 2.036 MB / 0.8814 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5028, allocations: 3.938 kB / 0.8814 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5028, allocations: 4 kB / 0.8814 GB, free: 11.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004421/0.5032, allocations: 331.3 kB / 0.8818 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.5033, allocations: 12.03 kB / 0.8818 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.5034, allocations: 0 / 0.8818 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.5036, allocations: 163.1 kB / 0.8819 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.5036, allocations: 11.95 kB / 0.8819 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.5036, allocations: 0 / 0.8819 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.5038, allocations: 49.67 kB / 0.882 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5038, allocations: 4 kB / 0.882 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.5039, allocations: 0 / 0.882 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5039, allocations: 0 / 0.882 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.099e-05/0.5039, allocations: 12 kB / 0.882 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.5042, allocations: 169.5 kB / 0.8822 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5043, allocations: 46.56 kB / 0.8822 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.5045, allocations: 89.05 kB / 0.8823 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.5045, allocations: 34.56 kB / 0.8823 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.5045, allocations: 0 / 0.8823 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.001937/0.5065, allocations: 480.2 kB / 0.8828 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.5065, allocations: 55.41 kB / 0.8828 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.5067, allocations: 89 kB / 0.8829 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.5067, allocations: 25.7 kB / 0.8829 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.5068, allocations: 80.14 kB / 0.883 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.5069, allocations: 35.75 kB / 0.8831 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.5069, allocations: 0 / 0.8831 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.5071, allocations: 314.8 kB / 0.8834 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.5072, allocations: 11.98 kB / 0.8834 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.5072, allocations: 15.94 kB / 0.8834 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.5073, allocations: 12 kB / 0.8834 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5073, allocations: 0 / 0.8834 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002075/0.5076, allocations: 69.64 kB / 0.8835 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.5076, allocations: 8 kB / 0.8835 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5076, allocations: 4 kB / 0.8835 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.5077, allocations: 0 / 0.8835 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.5078, allocations: 20.36 kB / 0.8835 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5078, allocations: 4.25 kB / 0.8835 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.5079, allocations: 0 / 0.8835 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.5079, allocations: 12 kB / 0.8835 GB, free: 9.355 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 (8): * Single equations (assignments): 8 * 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 0.0001422/0.5081, allocations: 109.1 kB / 0.8836 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.5081, allocations: 11.86 kB / 0.8836 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.5084, allocations: 93.55 kB / 0.8837 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5085, allocations: 0 / 0.8837 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5085, allocations: 0 / 0.8837 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5085, allocations: 4 kB / 0.8837 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.5087, allocations: 165.7 kB / 0.8839 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5087, allocations: 0 / 0.8839 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.5089, allocations: 11.98 kB / 0.8839 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.5089, allocations: 4 kB / 0.8839 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.509, allocations: 3.953 kB / 0.8839 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.509, allocations: 0 / 0.8839 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.509, allocations: 0 / 0.8839 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.5093, allocations: 117 kB / 0.884 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.5094, allocations: 85.05 kB / 0.8841 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.5094, allocations: 0 / 0.8841 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.5095, allocations: 3.953 kB / 0.8841 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.5096, allocations: 7.984 kB / 0.8841 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.5096, allocations: 4 kB / 0.8841 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.5097, allocations: 83.34 kB / 0.8842 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5097, allocations: 0 / 0.8842 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004402/0.5101, allocations: 35.94 kB / 0.8842 GB, free: 8.531 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0003712/0.5105, allocations: 155.1 kB / 0.8844 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.5107, allocations: 43.91 kB / 0.8844 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5107, allocations: 0 / 0.8844 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/0.5108, allocations: 16 kB / 0.8844 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.511, allocations: 4 kB / 0.8844 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.5115, allocations: 155.1 kB / 0.8846 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.5119, allocations: 0.6809 MB / 0.8852 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.662e-05/0.5119, allocations: 8.172 kB / 0.8852 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.512, allocations: 11.44 kB / 0.8853 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.512, allocations: 4 kB / 0.8853 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of Templates: time 0.004467/0.5165, allocations: 0.7337 MB / 0.886 GB, free: 6.695 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)