Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 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.001108/0.001108, allocations: 199.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002012, allocations: 275 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9108/0.9108, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 97.88 kB / 0.5953 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 86.99 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002267/0.146, allocations: 1.427 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003543/0.1463, allocations: 192.8 kB / 0.6819 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.1464, allocations: 0 / 0.6819 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.1464, allocations: 5.469 kB / 0.6819 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.1464, allocations: 0 / 0.6819 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1467, allocations: 35.89 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.1467, allocations: 28.45 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.1468, allocations: 8 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.1468, allocations: 7.938 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.1469, allocations: 15.92 kB / 0.682 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1469, allocations: 4 kB / 0.682 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.147, allocations: 35.95 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.147, allocations: 7.984 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.147, allocations: 7.938 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.1471, allocations: 36.17 kB / 0.6821 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1471, allocations: 3.938 kB / 0.6821 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1471, allocations: 0 / 0.6821 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1472, allocations: 4 kB / 0.6821 GB, free: 14.8 MB / 494.1 MB 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.0003653/0.1475, allocations: 343.4 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1476, allocations: 12.03 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.1476, allocations: 34.75 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.1476, allocations: 0.9375 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.537e-05/0.1477, allocations: 176.3 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.1477, allocations: 4.375 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1477, allocations: 384 / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1479, allocations: 54.23 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1479, allocations: 3.938 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1479, allocations: 0 / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1479, allocations: 0 / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1481, allocations: 35.91 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.1484, allocations: 252.9 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1485, allocations: 42.5 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.1486, allocations: 24.89 kB / 0.683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.235e-05/0.1487, allocations: 81.11 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.1487, allocations: 30.56 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1487, allocations: 0 / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.00033/0.149, allocations: 89.58 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.1491, allocations: 51.41 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.1491, allocations: 105.8 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1491, allocations: 25.7 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.1492, allocations: 84.14 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1492, allocations: 7.844 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.1492, allocations: 13.72 kB / 0.6835 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.1493, allocations: 319 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.1494, allocations: 15.97 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/0.1495, allocations: 19.98 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1496, allocations: 40.77 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1496, allocations: 4 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001802/0.1498, allocations: 69.59 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1499, allocations: 8 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1499, allocations: 0 / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1499, allocations: 0 / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.15, allocations: 7.984 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.15, allocations: 4 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.15, allocations: 3.984 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.15, allocations: 8.031 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB 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 8.563e-05/0.1501, allocations: 114.4 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1502, allocations: 3.906 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.1504, allocations: 72.72 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1504, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1504, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1504, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1505, allocations: 173.6 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1506, allocations: 0 / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.1506, allocations: 11.92 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1506, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1506, allocations: 4.25 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1506, allocations: 4 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1506, allocations: 0 / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1509, allocations: 171.4 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.1509, allocations: 81.11 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1509, allocations: 0 / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.151, allocations: 7.984 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.151, allocations: 0 / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.151, allocations: 4 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.1511, allocations: 79.28 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1513, allocations: 20.03 kB / 0.6847 GB, free: 11.78 MB / 494.1 MB 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.0004605/0.1518, allocations: 0.707 MB / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.152, allocations: 39.94 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.152, allocations: 0 / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.1521, allocations: 23.97 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.1523, allocations: 4 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.1527, allocations: 139.2 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1529, allocations: 0.6847 MB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.1529, allocations: 3.984 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.153, allocations: 11.44 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.153, allocations: 0 / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.1693, allocations: 1.423 MB / 0.6876 GB, free: 8.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.039, allocations: 14.89 kB / 0.6876 GB, free: 8.73 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)