Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.445/1.445, allocations: 288.4 MB / 303.6 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 179.4 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006546/0.0006545, allocations: 92.19 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 13.91 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001097/0.146, allocations: 1.145 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.1463, allocations: 180.5 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.1463, allocations: 4 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.1463, allocations: 3.938 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.1464, allocations: 4 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.1465, allocations: 31.84 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.1466, allocations: 19.92 kB / 0.9815 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.029e-05/0.1467, allocations: 8 kB / 0.9815 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.1467, allocations: 7.984 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.1468, allocations: 7.938 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1468, allocations: 4 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.1468, allocations: 35.94 kB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.1469, allocations: 0 / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1469, allocations: 37.64 kB / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.352e-05/0.1469, allocations: 27.95 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.147, allocations: 0 / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.113e-06/0.147, allocations: 0 / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.147, allocations: 0 / 0.9817 GB, free: 25.69 MB / 0.6198 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.0002943/0.1473, allocations: 343.7 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1473, allocations: 8.031 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.059e-05/0.1473, allocations: 34.75 kB / 0.982 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.1474, allocations: 8.938 kB / 0.982 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.368e-05/0.1474, allocations: 168.3 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1474, allocations: 384 / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1475, allocations: 4.375 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1476, allocations: 58.17 kB / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1476, allocations: 3.938 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-06/0.1476, allocations: 0 / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1476, allocations: 7.938 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1478, allocations: 39.97 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.148, allocations: 253 kB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1481, allocations: 46.5 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.1482, allocations: 24.91 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-05/0.1483, allocations: 89.03 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.1483, allocations: 38.55 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1483, allocations: 0 / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003035/0.1486, allocations: 101.7 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.1486, allocations: 51.41 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.278e-05/0.1487, allocations: 106 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.1487, allocations: 25.7 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.1487, allocations: 88.12 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.1487, allocations: 7.844 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.1488, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.229e-05/0.1488, allocations: 314.8 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.1489, allocations: 24.02 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.759e-05/0.1489, allocations: 27.91 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1491, allocations: 52.89 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1491, allocations: 3.938 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001663/0.1493, allocations: 73.66 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1493, allocations: 9.906 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1493, allocations: 64 / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1493, allocations: 8 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.1494, allocations: 8 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1494, allocations: 3.984 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.1494, allocations: 4 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1495, allocations: 4 kB / 0.9836 GB, free: 23.45 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.1495, allocations: 121.7 kB / 0.9837 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.1495, allocations: 3.906 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1497, allocations: 84.77 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1497, allocations: 4 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1497, allocations: 4.031 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1498, allocations: 0 / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.1499, allocations: 157.6 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1499, allocations: 0 / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.1499, allocations: 11.98 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1499, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1499, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1499, allocations: 4 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.15, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1501, allocations: 179.4 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.1502, allocations: 81.05 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1502, allocations: 7.984 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.1502, allocations: 8.031 kB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1503, allocations: 0 / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1503, allocations: 15.92 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.782e-05/0.1503, allocations: 79.28 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1503, allocations: 0 / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001984/0.1505, allocations: 12 kB / 0.9844 GB, free: 22.59 MB / 0.6198 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 (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.0003405/0.1509, allocations: 0.7162 MB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1511, allocations: 51.98 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1511, allocations: 4 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.1511, allocations: 19.98 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.1514, allocations: 10.19 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.1517, allocations: 139.2 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.513e-05/0.1518, allocations: 0.6809 MB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.1518, allocations: 3.938 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.1518, allocations: 7.438 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.1518, allocations: 0 / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.327/0.4789, allocations: 1.174 MB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/0.479, allocations: 190.3 kB / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.609, allocations: 0 / 0.9873 GB, free: 19.61 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)