Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009245/0.0009246, allocations: 184.6 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.5783 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007891/0.0007891, allocations: 96.66 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 12.41 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2435, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007835/0.2444, allocations: 342.3 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.2448, allocations: 148.9 kB / 0.9013 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.2448, allocations: 0 / 0.9013 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.2448, allocations: 0 / 0.9013 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.271e-05/0.2449, allocations: 4 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.2452, allocations: 31.95 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.2452, allocations: 11.94 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.2453, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.2453, allocations: 11.98 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.2454, allocations: 3.984 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2454, allocations: 4 kB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.2455, allocations: 31.97 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.2455, allocations: 11.92 kB / 0.9014 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.2455, allocations: 25.7 kB / 0.9014 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.419e-05/0.2456, allocations: 19.97 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2456, allocations: 0 / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2456, allocations: 0 / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2456, allocations: 0 / 0.9015 GB, free: 63.24 MB / 0.6042 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.0003351/0.246, allocations: 323.3 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.246, allocations: 8.031 kB / 0.9018 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.2461, allocations: 4 kB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.2462, allocations: 171 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2462, allocations: 7.938 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.2462, allocations: 4 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.2463, allocations: 41.62 kB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2463, allocations: 4 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2464, allocations: 0 / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2464, allocations: 0 / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.2464, allocations: 15.98 kB / 0.902 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.2466, allocations: 157.6 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.2467, allocations: 50.62 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.2467, allocations: 16.98 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-05/0.2468, allocations: 81.09 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2468, allocations: 50.44 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2468, allocations: 0 / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001163/0.248, allocations: 492.2 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.2481, allocations: 51.41 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.89e-05/0.2481, allocations: 93.86 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2481, allocations: 33.64 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.2481, allocations: 84.12 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.2482, allocations: 15.72 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2482, allocations: 4 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.2482, allocations: 318.9 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.2483, allocations: 15.98 kB / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.2483, allocations: 8 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.2483, allocations: 19.94 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2483, allocations: 4 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.969e-05/0.2484, allocations: 65.67 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2485, allocations: 6.656 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2485, allocations: 0 / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2485, allocations: 0 / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.2486, allocations: 12 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2486, allocations: 0 / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.2486, allocations: 12 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2486, allocations: 0 / 0.9035 GB, free: 60.81 MB / 0.6042 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 5.871e-05/0.2487, allocations: 129.7 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.2487, allocations: 3.938 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.2489, allocations: 85.97 kB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2489, allocations: 4 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2489, allocations: 0 / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2489, allocations: 4 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.814e-05/0.249, allocations: 173.6 kB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.249, allocations: 0 / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.2491, allocations: 15.98 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2491, allocations: 0 / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2491, allocations: 0 / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2491, allocations: 3.938 kB / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2491, allocations: 4 kB / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.2493, allocations: 117.1 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.2493, allocations: 84.97 kB / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2493, allocations: 0 / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.2494, allocations: 8.016 kB / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.2494, allocations: 0 / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2494, allocations: 8 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.817e-05/0.2494, allocations: 75.28 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2494, allocations: 0 / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000197/0.2496, allocations: 31.98 kB / 0.9042 GB, free: 59.97 MB / 0.6042 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.0002007/0.2499, allocations: 135.3 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.25, allocations: 47.89 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.25, allocations: 0 / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.25, allocations: 20.56 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.2502, allocations: 6.031 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.2505, allocations: 174.4 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.2506, allocations: 0.6848 MB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.2506, allocations: 15.44 kB / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2506, allocations: 0 / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.002177/0.2528, allocations: 0.9112 MB / 0.9062 GB, free: 57.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)