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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001595, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.594/1.594, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.856/1.856, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001572/0.001572, allocations: 72.89 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2535, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001933/0.2555, allocations: 0.6124 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003913/0.2559, allocations: 159.5 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.2559, allocations: 0 / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.2559, allocations: 0 / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.181e-05/0.256, allocations: 0 / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.2563, allocations: 43.89 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.2563, allocations: 19.86 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.2564, allocations: 4 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.2564, allocations: 8 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.2565, allocations: 15.91 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2565, allocations: 3.938 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.2566, allocations: 31.97 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2566, allocations: 4 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2566, allocations: 4 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2567, allocations: 35.88 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2568, allocations: 0 / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2568, allocations: 0 / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2568, allocations: 4 kB / 0.7844 GB, free: 12.43 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.0003869/0.2572, allocations: 327.6 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2572, allocations: 8.031 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.2573, allocations: 38.75 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.2573, allocations: 4.844 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2574, allocations: 164.6 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2574, allocations: 384 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.2575, allocations: 8.359 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.2576, allocations: 50.19 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2576, allocations: 3.938 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2576, allocations: 7.984 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2576, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.2577, allocations: 15.98 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.2578, allocations: 161.7 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.2579, allocations: 42.56 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.258, allocations: 20.97 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.152e-05/0.2581, allocations: 85.11 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2581, allocations: 34.5 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.2581, allocations: 0 / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001258/0.2594, allocations: 488 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2594, allocations: 51.41 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.087e-05/0.2595, allocations: 93.86 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.2595, allocations: 29.83 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.2596, allocations: 80.14 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.2596, allocations: 31.55 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.2596, allocations: 17.72 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2598, allocations: 318.8 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.2598, allocations: 12 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.2598, allocations: 8 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.2599, allocations: 48.77 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2599, allocations: 4.438 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.26, allocations: 69.62 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2601, allocations: 4 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2601, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2601, allocations: 4 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.2602, allocations: 15.98 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2602, allocations: 320 / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.2603, allocations: 4 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2603, allocations: 0 / 0.7866 GB, free: 9.902 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/0.2604, allocations: 121.8 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.2604, allocations: 7.875 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.2605, allocations: 85.62 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2606, allocations: 0 / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2606, allocations: 0 / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2606, allocations: 0 / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.2607, allocations: 165.6 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2607, allocations: 0 / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.2608, allocations: 23.81 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2608, allocations: 4 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2608, allocations: 8 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2608, allocations: 3.984 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2609, allocations: 0 / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.261, allocations: 109 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.2611, allocations: 81.05 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2611, allocations: 8.031 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.2612, allocations: 0 / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.2612, allocations: 8.062 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2612, allocations: 3.984 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.2612, allocations: 83.22 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2612, allocations: 0 / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002297/0.2615, allocations: 32 kB / 0.7873 GB, free: 9.066 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 (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.0005647/0.2621, allocations: 0.6827 MB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.2622, allocations: 43.91 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2622, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.2622, allocations: 27.92 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.2624, allocations: 4 kB / 0.788 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2635, allocations: 1.188 MB / 0.7892 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2638, allocations: 0.6845 MB / 0.7898 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.2638, allocations: 12.67 kB / 0.7898 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2639, allocations: 11.44 kB / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2639, allocations: 0 / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.2831, allocations: 1.792 MB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/7.169, allocations: 2.438 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)