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.001216/0.001216, allocations: 99.41 kB / 16.26 MB, free: 6.418 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.001019/0.001019, allocations: 189.4 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.778/1.778, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001531/0.001531, allocations: 71.89 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2556, allocations: 114.6 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001856/0.2574, allocations: 0.6019 MB / 0.7846 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003705/0.2578, allocations: 159.5 kB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.2579, allocations: 4 kB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.2579, allocations: 0 / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.883e-05/0.2579, allocations: 7.938 kB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.2582, allocations: 35.89 kB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.2583, allocations: 15.94 kB / 0.7848 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.2584, allocations: 7.984 kB / 0.7848 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.2584, allocations: 4 kB / 0.7848 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.2584, allocations: 11.98 kB / 0.7849 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2585, allocations: 0 / 0.7849 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.2585, allocations: 35.95 kB / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.2586, allocations: 3.938 kB / 0.7849 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.2586, allocations: 8 kB / 0.7849 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.2587, allocations: 35.88 kB / 0.7849 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2587, allocations: 0 / 0.7849 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2587, allocations: 0 / 0.7849 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2587, allocations: 4 kB / 0.7849 GB, free: 2.98 MB / 0.6544 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.0003524/0.2591, allocations: 327.6 kB / 0.7853 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.2591, allocations: 12.03 kB / 0.7853 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.2592, allocations: 0.9375 kB / 0.7853 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2593, allocations: 172.5 kB / 0.7854 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2593, allocations: 4.375 kB / 0.7854 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.2593, allocations: 4.375 kB / 0.7854 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2594, allocations: 46.25 kB / 0.7855 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2594, allocations: 192 / 0.7855 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2594, allocations: 3.938 kB / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2595, allocations: 0 / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/0.2595, allocations: 11.98 kB / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.2597, allocations: 161.7 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.2598, allocations: 54.48 kB / 0.7857 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.2598, allocations: 24.91 kB / 0.7857 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.193e-05/0.2599, allocations: 81.11 kB / 0.7858 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.26, allocations: 34.56 kB / 0.7858 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.26, allocations: 3.938 kB / 0.7858 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.001245/0.2612, allocations: 484.1 kB / 0.7863 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.2613, allocations: 59.34 kB / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.2613, allocations: 97.8 kB / 0.7865 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2613, allocations: 25.7 kB / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.2614, allocations: 84.14 kB / 0.7866 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.2614, allocations: 19.66 kB / 0.7866 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.2615, allocations: 25.7 kB / 0.7866 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.2616, allocations: 310.8 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.2616, allocations: 20.11 kB / 0.7869 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.2616, allocations: 12 kB / 0.7869 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.422e-05/0.2617, allocations: 36.83 kB / 0.787 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.2617, allocations: 4 kB / 0.787 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001048/0.2618, allocations: 69.59 kB / 0.787 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2618, allocations: 7.938 kB / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2618, allocations: 0 / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2619, allocations: 0 / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.2619, allocations: 16.38 kB / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.262, allocations: 0 / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.262, allocations: 8 kB / 0.7871 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.262, allocations: 3.984 kB / 0.7871 GB, free: 500 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.2621, allocations: 113.8 kB / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.2621, allocations: 7.938 kB / 0.7872 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2623, allocations: 89.88 kB / 0.7873 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2623, allocations: 0 / 0.7873 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2623, allocations: 0 / 0.7873 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2623, allocations: 0 / 0.7873 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.2624, allocations: 165.7 kB / 0.7874 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.2624, allocations: 3.984 kB / 0.7874 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.2625, allocations: 16 kB / 0.7874 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2625, allocations: 3.938 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2626, allocations: 0 / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2626, allocations: 4 kB / 0.7875 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2626, allocations: 0 / 0.7875 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3267/0.5893, allocations: 112.7 kB / 0.7876 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.5893, allocations: 84.02 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.5894, allocations: 4.469 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.5894, allocations: 4.312 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.5895, allocations: 6.188 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.5895, allocations: 2.656 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.5895, allocations: 78.59 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5895, allocations: 0 / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003017/0.5898, allocations: 34.39 kB / 0.7878 GB, free: 48.43 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002182/0.59, allocations: 135.6 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.5902, allocations: 40.73 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5902, allocations: 0.8438 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.5902, allocations: 18.16 kB / 0.788 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.5904, allocations: 10.22 kB / 0.788 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.5908, allocations: 163.3 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.5909, allocations: 0.6783 MB / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.5909, allocations: 17.66 kB / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of SimCode: time 4.3e-07/0.5909, allocations: 3.031 kB / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002208/0.5931, allocations: 0.9186 MB / 0.7897 GB, free: 47.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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)