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.8471/0.8471, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001352/0.001352, allocations: 181.6 kB / 187.3 MB, free: 11.9 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.702/1.702, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0008665/0.0008668, allocations: 96.17 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 269 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.625e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4411, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.569, allocations: 108.1 MB / 0.8699 GB, free: 472 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5693, allocations: 75.83 kB / 0.8699 GB, free: 400 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005431/0.5747, allocations: 2.047 MB / 0.8719 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5748, allocations: 0 / 0.8719 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.5748, allocations: 0 / 0.8719 GB, free: 14.35 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.0003149/0.5751, allocations: 322.5 kB / 0.8722 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5752, allocations: 12.03 kB / 0.8723 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.5752, allocations: 0 / 0.8723 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.5753, allocations: 168.5 kB / 0.8724 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.5754, allocations: 19.88 kB / 0.8724 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.5754, allocations: 0 / 0.8724 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.5755, allocations: 38.42 kB / 0.8725 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5755, allocations: 4.641 kB / 0.8725 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.5756, allocations: 0 / 0.8725 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5756, allocations: 7.031 kB / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.5756, allocations: 12 kB / 0.8725 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.5758, allocations: 161.5 kB / 0.8726 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.5759, allocations: 50.56 kB / 0.8727 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.576, allocations: 20.94 kB / 0.8727 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.5761, allocations: 84.64 kB / 0.8728 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.5761, allocations: 30.56 kB / 0.8728 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-05/0.5762, allocations: 0 / 0.8728 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.001165/0.5773, allocations: 472.6 kB / 0.8733 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5774, allocations: 55.41 kB / 0.8733 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.5775, allocations: 96.94 kB / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.5775, allocations: 25.7 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.5776, allocations: 80.14 kB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.5776, allocations: 27.64 kB / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5776, allocations: 0 / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5778, allocations: 318.8 kB / 0.8739 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.5778, allocations: 11.94 kB / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.5778, allocations: 12 kB / 0.8739 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.5779, allocations: 12 kB / 0.8739 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5779, allocations: 4.125 kB / 0.8739 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001112/0.578, allocations: 73.88 kB / 0.874 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.578, allocations: 4 kB / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.578, allocations: 2.969 kB / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5781, allocations: 0 / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.5782, allocations: 16 kB / 0.874 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5782, allocations: 0 / 0.874 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.5782, allocations: 8 kB / 0.874 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5782, allocations: 0 / 0.874 GB, free: 11.96 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 (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 6.772e-05/0.5783, allocations: 112.9 kB / 0.8741 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5783, allocations: 11.84 kB / 0.8741 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.5785, allocations: 77.77 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5785, allocations: 0 / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5785, allocations: 0 / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5785, allocations: 0 / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5787, allocations: 165.7 kB / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5787, allocations: 0 / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/0.5788, allocations: 19.92 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5788, allocations: 4 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5788, allocations: 7.953 kB / 0.8744 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5788, allocations: 0 / 0.8744 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5788, allocations: 0 / 0.8744 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.579, allocations: 113.1 kB / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.579, allocations: 81.02 kB / 0.8746 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.579, allocations: 0 / 0.8746 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.5791, allocations: 7.891 kB / 0.8746 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.5791, allocations: 16.03 kB / 0.8746 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.5791, allocations: 4 kB / 0.8746 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.5792, allocations: 83.22 kB / 0.8747 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5792, allocations: 0 / 0.8747 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002218/0.5794, allocations: 39.94 kB / 0.8747 GB, free: 11.14 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 () * 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.0002195/0.5796, allocations: 147.1 kB / 0.8748 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.5797, allocations: 35.98 kB / 0.8749 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5797, allocations: 96 / 0.8749 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.5798, allocations: 27.94 kB / 0.8749 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.5799, allocations: 8.953 kB / 0.8749 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.5802, allocations: 91.19 kB / 0.875 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.5805, allocations: 0.6848 MB / 0.8757 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.5805, allocations: 9.969 kB / 0.8757 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.5806, allocations: 15.44 kB / 0.8757 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5806, allocations: 0 / 0.8757 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of Templates: time 0.002715/0.5833, allocations: 0.7314 MB / 0.8764 GB, free: 9.363 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)