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.001057/0.001057, allocations: 109.4 kB / 15.69 MB, free: 128 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.001086/0.001086, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.757/1.757, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001486/0.001486, allocations: 73.25 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.248, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001714/0.2498, allocations: 0.5975 MB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.2502, allocations: 155.5 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.2502, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.2502, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.673e-05/0.2503, allocations: 4 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.2506, allocations: 51.81 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.2506, allocations: 11.94 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.2507, allocations: 4 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.2507, allocations: 11.92 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.2507, allocations: 0 / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2508, allocations: 7.984 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.2509, allocations: 35.91 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2509, allocations: 7.984 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.2509, allocations: 4 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.576e-05/0.251, allocations: 35.89 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.251, allocations: 0 / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.251, allocations: 0 / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.251, allocations: 0 / 0.7845 GB, free: 12.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.0003552/0.2514, allocations: 335.6 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2514, allocations: 8.031 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.2515, allocations: 30.75 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.2515, allocations: 12.84 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2516, allocations: 164.6 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2516, allocations: 4.375 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.2517, allocations: 12.31 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2518, allocations: 42.25 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2518, allocations: 3.938 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.2518, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2518, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.2519, allocations: 15.98 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.252, allocations: 157.7 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.2521, allocations: 50.56 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.2521, allocations: 20.97 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-05/0.2522, allocations: 85.05 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.2523, allocations: 34.55 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2523, allocations: 0 / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.00116/0.2534, allocations: 492.4 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.2535, allocations: 55.41 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.511e-05/0.2535, allocations: 93.86 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2536, allocations: 29.7 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.2536, allocations: 80.14 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.2536, allocations: 27.56 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.2537, allocations: 21.7 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.2538, allocations: 310.8 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.2538, allocations: 20.05 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.2538, allocations: 16 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.2539, allocations: 32.84 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2539, allocations: 0 / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001017/0.254, allocations: 77.84 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.254, allocations: 4 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.254, allocations: 80 / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2541, allocations: 0 / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.2541, allocations: 15.94 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2542, allocations: 3.984 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.2542, allocations: 11.94 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2542, allocations: 7.984 kB / 0.7867 GB, free: 9.746 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 6.175e-05/0.2543, allocations: 109.8 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.2543, allocations: 3.938 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.2544, allocations: 81.64 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2545, allocations: 0 / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2545, allocations: 0 / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2545, allocations: 3.938 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2546, allocations: 165.7 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2546, allocations: 7.984 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.2547, allocations: 15.94 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2547, allocations: 0 / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2547, allocations: 0 / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2547, allocations: 7.938 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2547, allocations: 0 / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.2549, allocations: 113 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.2549, allocations: 84.98 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2549, allocations: 12.08 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.255, allocations: 0 / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.255, allocations: 4 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.255, allocations: 0 / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.2551, allocations: 79.28 kB / 0.7874 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2551, allocations: 0 / 0.7874 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002088/0.2553, allocations: 31.98 kB / 0.7874 GB, free: 8.934 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.0004823/0.2558, allocations: 0.6866 MB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2559, allocations: 39.92 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2559, allocations: 0 / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.2559, allocations: 23.94 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.2561, allocations: 10.42 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.2571, allocations: 1.197 MB / 0.7893 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2573, allocations: 0.6845 MB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.2574, allocations: 8.062 kB / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.2574, allocations: 15.44 kB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2574, allocations: 0 / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.2747, allocations: 1.803 MB / 0.7918 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.59, allocations: 14.55 kB / 0.7918 GB, free: 4.461 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)