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.001338/0.001338, 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.001666/0.001666, allocations: 193.1 kB / 16.25 MB, free: 6.625 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 286.8 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.87/0.87, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 92.27 kB / 0.5948 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1333, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002139/0.1355, allocations: 1.502 MB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000332/0.1358, allocations: 192.2 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.1359, allocations: 4 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.1359, allocations: 0 / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.343e-05/0.136, allocations: 0.625 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1362, allocations: 35.92 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.1362, allocations: 27.92 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.1363, allocations: 0 / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.1364, allocations: 19.91 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.885e-05/0.1364, allocations: 7.938 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1364, allocations: 4 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.1365, allocations: 35.95 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1365, allocations: 4 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1365, allocations: 11.94 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.732e-05/0.1366, allocations: 40.16 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1366, allocations: 4 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1366, allocations: 0 / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1366, allocations: 4 kB / 0.6816 GB, free: 15.07 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.0003553/0.137, allocations: 343.4 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.137, allocations: 12.03 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1371, allocations: 30.75 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.1371, allocations: 0.9375 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.1372, allocations: 164.4 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.1372, allocations: 384 / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.1372, allocations: 4.375 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1374, allocations: 54.17 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1374, allocations: 3.938 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1374, allocations: 4 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1374, allocations: 0 / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1376, allocations: 35.95 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.1378, allocations: 248.9 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1379, allocations: 42.55 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.138, allocations: 28.78 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/0.1381, allocations: 81.11 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1381, allocations: 30.56 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1381, allocations: 4 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003251/0.1385, allocations: 81.64 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.1385, allocations: 51.41 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.1386, allocations: 101.8 kB / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.1386, allocations: 33.64 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.1386, allocations: 80.27 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.1386, allocations: 11.84 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.1387, allocations: 17.72 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.1388, allocations: 314.8 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.1388, allocations: 19.92 kB / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.1389, allocations: 15.98 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1391, allocations: 44.81 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1391, allocations: 7.938 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001663/0.1392, allocations: 61.67 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1393, allocations: 10.03 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1393, allocations: 256 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1393, allocations: 3.984 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.1394, allocations: 8 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1394, allocations: 8.031 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.1394, allocations: 3.984 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1394, allocations: 7.938 kB / 0.6835 GB, free: 12.89 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 5.737e-05/0.1395, allocations: 110.4 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1395, allocations: 3.906 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.1397, allocations: 72.78 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1397, allocations: 4.031 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1398, allocations: 3.984 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1398, allocations: 0 / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.1399, allocations: 161.6 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1399, allocations: 0 / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.14, allocations: 7.984 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.14, allocations: 0 / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.14, allocations: 3.984 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.14, allocations: 4 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.14, allocations: 0 / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.1402, allocations: 171.4 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.1402, allocations: 77.11 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1403, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1403, allocations: 7.984 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1404, allocations: 0 / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1404, allocations: 8.031 kB / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.168e-05/0.1404, allocations: 87.27 kB / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1404, allocations: 0 / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1406, allocations: 12 kB / 0.6842 GB, free: 12.07 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.0004693/0.1411, allocations: 0.7123 MB / 0.6849 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1413, allocations: 39.89 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1413, allocations: 0 / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.1414, allocations: 23.92 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.1417, allocations: 4 kB / 0.6849 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.142, allocations: 151.3 kB / 0.6851 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.1422, allocations: 0.6768 MB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.267e-05/0.1422, allocations: 3.984 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.1423, allocations: 11.44 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1423, allocations: 0 / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.624/1.766, allocations: 1.305 MB / 0.687 GB, free: 9.191 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.767, allocations: 205.4 kB / 0.6872 GB, free: 8.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/3.365, allocations: 0 / 0.6872 GB, free: 8.941 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)