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.0009853/0.0009854, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00123/0.00123, allocations: 172.7 kB / 15.95 MB, free: 208 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.817/1.817, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.866/1.866, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000562/0.0005621, allocations: 18.59 kB / 0.6737 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2616, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009425/0.2626, allocations: 335.5 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004482/0.2631, allocations: 143.7 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.2631, allocations: 3.938 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.2631, allocations: 3.938 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.2632, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2635, allocations: 27.97 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.2635, allocations: 11.98 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.2636, allocations: 4 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.2636, allocations: 7.922 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.2637, allocations: 8 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2637, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.2638, allocations: 35.95 kB / 0.7879 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2638, allocations: 0 / 0.7879 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.2639, allocations: 33.64 kB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.079e-05/0.2639, allocations: 23.95 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.264, allocations: 0 / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.264, allocations: 0 / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.264, allocations: 4 kB / 0.7879 GB, free: 11.3 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.0004584/0.2644, allocations: 335.4 kB / 0.7882 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2645, allocations: 8.031 kB / 0.7882 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.2645, allocations: 3.906 kB / 0.7882 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.2647, allocations: 167.2 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2647, allocations: 4 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2647, allocations: 3.984 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2649, allocations: 41.69 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2649, allocations: 0 / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2649, allocations: 0 / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2649, allocations: 8 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.265, allocations: 23.92 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.2651, allocations: 157.7 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.2652, allocations: 42.56 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.2653, allocations: 24.97 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-05/0.2654, allocations: 81.11 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.2654, allocations: 30.56 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.2654, allocations: 4 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001235/0.2667, allocations: 492 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2667, allocations: 55.41 kB / 0.7893 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.2668, allocations: 93.84 kB / 0.7894 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2668, allocations: 25.7 kB / 0.7894 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.2668, allocations: 80.14 kB / 0.7895 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.2669, allocations: 23.78 kB / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.2669, allocations: 4 kB / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.267, allocations: 322.8 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.2671, allocations: 8 kB / 0.7899 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.2671, allocations: 11.98 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.2671, allocations: 19.95 kB / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2671, allocations: 0 / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001145/0.2673, allocations: 73.75 kB / 0.79 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2673, allocations: 8 kB / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2673, allocations: 0 / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2673, allocations: 4 kB / 0.79 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.2674, allocations: 16.44 kB / 0.79 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2674, allocations: 4.062 kB / 0.79 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.2674, allocations: 3.984 kB / 0.79 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2675, allocations: 8 kB / 0.79 GB, free: 8.859 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.949e-05/0.2675, allocations: 114.5 kB / 0.7901 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.2676, allocations: 4 kB / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.2677, allocations: 81.58 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2678, allocations: 0 / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2678, allocations: 0 / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2678, allocations: 4 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2679, allocations: 165.7 kB / 0.7904 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2679, allocations: 3.953 kB / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.268, allocations: 8 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.268, allocations: 4 kB / 0.7904 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.268, allocations: 3.938 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.268, allocations: 0 / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.268, allocations: 0 / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.2682, allocations: 124.9 kB / 0.7905 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.2683, allocations: 89.08 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2683, allocations: 3.938 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.2684, allocations: 0 / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.2684, allocations: 11.98 kB / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.2684, allocations: 4 kB / 0.7906 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.2684, allocations: 79.33 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2685, allocations: 4.094 kB / 0.7907 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002216/0.2687, allocations: 28 kB / 0.7907 GB, free: 8.035 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.00027/0.269, allocations: 123.2 kB / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.2691, allocations: 43.91 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2691, allocations: 4 kB / 0.7909 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.2691, allocations: 16 kB / 0.7909 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.2693, allocations: 6.25 kB / 0.7909 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.2696, allocations: 160.8 kB / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2699, allocations: 0.6809 MB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.2699, allocations: 4.188 kB / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.27, allocations: 15.42 kB / 0.7917 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.27, allocations: 0 / 0.7917 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.003195/0.2732, allocations: 0.8357 MB / 0.7925 GB, free: 6.102 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: