Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",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.001348/0.001348, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 199.4 kB / 16.26 MB, free: 6.617 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.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 283 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8808/0.8808, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 104.3 kB / 0.5948 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1353, allocations: 86.97 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002889/0.1383, allocations: 1.832 MB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1393, allocations: 0.6456 MB / 0.6822 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.1394, allocations: 1.906 kB / 0.6822 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.1395, allocations: 3.938 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.1396, allocations: 19.84 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.1401, allocations: 150.5 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1403, allocations: 127.7 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1404, allocations: 53.25 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1405, allocations: 59.83 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.1406, allocations: 47.77 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1406, allocations: 8 kB / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1408, allocations: 43.97 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.1408, allocations: 39.89 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.1409, allocations: 59.64 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.141, allocations: 135.6 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1411, allocations: 0 / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1411, allocations: 0 / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1411, allocations: 4 kB / 0.6829 GB, free: 13.75 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005287/0.1416, allocations: 438.9 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1416, allocations: 12.03 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1417, allocations: 42.73 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/0.1425, allocations: 112.7 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1426, allocations: 180.1 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/0.1427, allocations: 63.95 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1427, allocations: 8.375 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.1432, allocations: 177.5 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1432, allocations: 0 / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1433, allocations: 0 / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1433, allocations: 3.984 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.1438, allocations: 159.8 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1449, allocations: 489.7 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/0.1458, allocations: 222.2 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.1461, allocations: 80.91 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1461, allocations: 7.922 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1462, allocations: 38.56 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1462, allocations: 0 / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009233/0.1471, allocations: 261.5 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1471, allocations: 55.34 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.1472, allocations: 139 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1473, allocations: 25.7 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1473, allocations: 116.1 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1474, allocations: 11.81 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1474, allocations: 25.7 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.1475, allocations: 322.8 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.1478, allocations: 72.17 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1481, allocations: 94.48 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.1486, allocations: 170.4 kB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1486, allocations: 0 / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000594/0.1492, allocations: 205.4 kB / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1493, allocations: 9.875 kB / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1493, allocations: 3.938 kB / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1493, allocations: 0 / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.1495, allocations: 35.95 kB / 0.6863 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1495, allocations: 4.062 kB / 0.6863 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1497, allocations: 31.8 kB / 0.6863 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1498, allocations: 4 kB / 0.6863 GB, free: 9.945 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.463e-05/0.1498, allocations: 118.5 kB / 0.6864 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.1499, allocations: 7.906 kB / 0.6865 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.1505, allocations: 214.1 kB / 0.6867 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1506, allocations: 0 / 0.6867 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1506, allocations: 0 / 0.6867 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1506, allocations: 0 / 0.6867 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1508, allocations: 238.4 kB / 0.6869 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1508, allocations: 4 kB / 0.6869 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.151, allocations: 35.89 kB / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.151, allocations: 0 / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1511, allocations: 11.92 kB / 0.6869 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1511, allocations: 4 kB / 0.6869 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1511, allocations: 0 / 0.6869 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.1517, allocations: 291.4 kB / 0.6872 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.1517, allocations: 81.02 kB / 0.6873 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1518, allocations: 3.938 kB / 0.6873 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.1521, allocations: 31.95 kB / 0.6873 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1521, allocations: 8 kB / 0.6873 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1521, allocations: 7.984 kB / 0.6873 GB, free: 8.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.858e-05/0.1522, allocations: 113.1 kB / 0.6874 GB, free: 8.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1522, allocations: 0 / 0.6874 GB, free: 8.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1525, allocations: 27.84 kB / 0.6875 GB, free: 8.672 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 (6): * Single equations (assignments): 6 * 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.0008547/0.1533, allocations: 0.8176 MB / 0.6883 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005896/0.1539, allocations: 171.8 kB / 0.6884 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1539, allocations: 0 / 0.6884 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.1542, allocations: 79.91 kB / 0.6885 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1545, allocations: 8.156 kB / 0.6885 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.1572, allocations: 1.861 MB / 0.6903 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.1574, allocations: 0.7002 MB / 0.691 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.59e-05/0.1575, allocations: 19.97 kB / 0.691 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.1576, allocations: 31.42 kB / 0.6911 GB, free: 4.848 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1576, allocations: 4 kB / 0.6911 GB, free: 4.844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.018/2.176, allocations: 2.61 MB / 0.6936 GB, free: 2.367 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/2.176, allocations: 209.8 kB / 0.6938 GB, free: 2.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/3.819, allocations: 0 / 0.6938 GB, free: 2.113 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)