Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",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.001291/0.001291, 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.001295/0.001296, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.613/1.613, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.749/1.749, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001404/0.001404, allocations: 70.02 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2517, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002547/0.2543, allocations: 1.442 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.2547, allocations: 192.3 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.2547, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.2548, allocations: 3.938 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.2548, allocations: 3.938 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.2551, allocations: 39.91 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.77e-05/0.2551, allocations: 23.92 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.2552, allocations: 8 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.2553, allocations: 11.98 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.2553, allocations: 15.92 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2553, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.2554, allocations: 31.97 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2554, allocations: 3.984 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.2555, allocations: 11.94 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.2556, allocations: 43.81 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2556, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2556, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2556, allocations: 0 / 0.7852 GB, free: 11.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003717/0.256, allocations: 351.7 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.256, allocations: 8.031 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.256, allocations: 42.67 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.231e-05/0.2561, allocations: 4.938 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.2562, allocations: 164.3 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.2562, allocations: 384 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.2562, allocations: 4.375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2564, allocations: 54.23 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2564, allocations: 3.938 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.2564, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2564, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.2566, allocations: 35.95 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.2568, allocations: 244.9 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.257, allocations: 46.48 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.2571, allocations: 20.91 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.894e-05/0.2571, allocations: 85.05 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2572, allocations: 30.56 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2572, allocations: 0 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003252/0.2575, allocations: 89.58 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2575, allocations: 51.41 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.2576, allocations: 109.8 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2576, allocations: 25.7 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.2577, allocations: 84.14 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.2577, allocations: 11.84 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2577, allocations: 9.719 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.2578, allocations: 319 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.2579, allocations: 19.98 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.258, allocations: 15.98 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2581, allocations: 40.81 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2581, allocations: 3.938 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.2583, allocations: 73.58 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2583, allocations: 4 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2583, allocations: 0 / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2584, allocations: 0 / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.2584, allocations: 11.98 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2585, allocations: 0 / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.2585, allocations: 7.984 kB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.2585, allocations: 4.031 kB / 0.7871 GB, free: 9.375 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 (2): * Single equations (assignments): 2 * 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.389e-05/0.2586, allocations: 121.7 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.2586, allocations: 0 / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.2588, allocations: 72.7 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2588, allocations: 4 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2588, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2589, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.259, allocations: 165.6 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.259, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.2591, allocations: 15.98 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2591, allocations: 0 / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2591, allocations: 0 / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2591, allocations: 0 / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2591, allocations: 3.938 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.2593, allocations: 163.5 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.2594, allocations: 81.02 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.2594, allocations: 4 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.2595, allocations: 11.98 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.2595, allocations: 0 / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2595, allocations: 3.938 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.2595, allocations: 83.53 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2595, allocations: 0 / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002166/0.2598, allocations: 16.02 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005425/0.2603, allocations: 0.7046 MB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2605, allocations: 43.98 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2605, allocations: 3.938 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.2606, allocations: 15.98 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.2609, allocations: 6.656 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.2613, allocations: 139.1 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.2615, allocations: 0.6808 MB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.2615, allocations: 0 / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.2615, allocations: 15.44 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2615, allocations: 0 / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.277, allocations: 1.408 MB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.236, allocations: 3.281 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)