Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005108, allocations: 21.69 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2921, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007774/0.293, allocations: 337.8 kB / 0.7874 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003625/0.2933, allocations: 149.3 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.2934, allocations: 3.938 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.2934, allocations: 3.938 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.005e-05/0.2934, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.2937, allocations: 19.98 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.356e-05/0.2937, allocations: 11.97 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.2938, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.2938, allocations: 7.938 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.2939, allocations: 11.98 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.2939, allocations: 4 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.294, allocations: 27.97 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.294, allocations: 7.984 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.294, allocations: 25.7 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.56e-05/0.2941, allocations: 23.91 kB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.2941, allocations: 0 / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2941, allocations: 0 / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2941, allocations: 0 / 0.7877 GB, free: 11.35 MB / 0.6075 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.0003469/0.2945, allocations: 327.4 kB / 0.788 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2945, allocations: 12.03 kB / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2945, allocations: 7.906 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2947, allocations: 167.2 kB / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2947, allocations: 0 / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.2947, allocations: 7.984 kB / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.2948, allocations: 41.69 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2949, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2949, allocations: 4 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2949, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.2949, allocations: 11.98 kB / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.2951, allocations: 169.6 kB / 0.7884 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/0.2952, allocations: 46.5 kB / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-05/0.2953, allocations: 85.09 kB / 0.7886 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2954, allocations: 30.56 kB / 0.7886 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2954, allocations: 0 / 0.7886 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001227/0.2966, allocations: 496.4 kB / 0.7891 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.2966, allocations: 51.41 kB / 0.7891 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.2967, allocations: 89.86 kB / 0.7892 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2967, allocations: 25.7 kB / 0.7892 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.2968, allocations: 92.12 kB / 0.7893 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2968, allocations: 15.66 kB / 0.7893 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.2968, allocations: 4 kB / 0.7893 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.297, allocations: 319 kB / 0.7896 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.297, allocations: 11.98 kB / 0.7897 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.297, allocations: 12 kB / 0.7897 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.297, allocations: 12 kB / 0.7897 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2971, allocations: 3.953 kB / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.2972, allocations: 81.56 kB / 0.7898 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2972, allocations: 7.938 kB / 0.7898 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2972, allocations: 0 / 0.7898 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2972, allocations: 0 / 0.7898 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.2973, allocations: 15.94 kB / 0.7898 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2973, allocations: 4 kB / 0.7898 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.2973, allocations: 0 / 0.7898 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.2974, allocations: 4 kB / 0.7898 GB, free: 8.938 MB / 0.6075 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 7.548e-05/0.2974, allocations: 113.8 kB / 0.7899 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.2974, allocations: 7.953 kB / 0.7899 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.2976, allocations: 81.58 kB / 0.79 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2976, allocations: 4 kB / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2976, allocations: 0 / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2977, allocations: 4 kB / 0.79 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2978, allocations: 161.7 kB / 0.7901 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2978, allocations: 0 / 0.7901 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.2979, allocations: 19.94 kB / 0.7902 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2979, allocations: 192 / 0.7902 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2979, allocations: 8 kB / 0.7902 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2979, allocations: 400 / 0.7902 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2979, allocations: 0 / 0.7902 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.2981, allocations: 125 kB / 0.7903 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.2982, allocations: 77.11 kB / 0.7904 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2982, allocations: 3.953 kB / 0.7904 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.2982, allocations: 7.984 kB / 0.7904 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.2982, allocations: 4 kB / 0.7904 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2983, allocations: 4 kB / 0.7904 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.2983, allocations: 75.28 kB / 0.7905 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2983, allocations: 3.938 kB / 0.7905 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002099/0.2985, allocations: 35.98 kB / 0.7905 GB, free: 8.109 MB / 0.6075 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.000245/0.2988, allocations: 131.4 kB / 0.7906 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.2989, allocations: 43.91 kB / 0.7907 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2989, allocations: 0 / 0.7907 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.2989, allocations: 16 kB / 0.7907 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.2991, allocations: 4 kB / 0.7907 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.2994, allocations: 156.8 kB / 0.7908 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2997, allocations: 0.6848 MB / 0.7915 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.749e-05/0.2998, allocations: 8.172 kB / 0.7915 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.2998, allocations: 15.44 kB / 0.7915 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2998, allocations: 0 / 0.7915 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.003213/0.303, allocations: 0.8314 MB / 0.7923 GB, free: 6.172 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: