Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.002091, allocations: 181.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.573/0.573, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 108.2 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 72.32 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.6125, allocations: 101.9 MB / 0.6685 GB, free: 2.465 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.6128, allocations: 71.95 kB / 0.6685 GB, free: 2.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003311/0.6161, allocations: 1.134 MB / 0.6697 GB, free: 1.273 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6161, allocations: 0 / 0.6697 GB, free: 1.273 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.6161, allocations: 0 / 0.6697 GB, free: 1.273 MB / 458.7 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.0004088/0.6165, allocations: 355.9 kB / 0.67 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6166, allocations: 8.031 kB / 0.67 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.6166, allocations: 30.56 kB / 0.67 GB, free: 0.832 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.6167, allocations: 7.953 kB / 0.67 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.6168, allocations: 167 kB / 0.6702 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6168, allocations: 0 / 0.6702 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.6168, allocations: 6.078 kB / 0.6702 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.617, allocations: 53.67 kB / 0.6703 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.617, allocations: 0 / 0.6703 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.617, allocations: 0 / 0.6703 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6171, allocations: 0 / 0.6703 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.6172, allocations: 55.84 kB / 0.6703 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.6177, allocations: 264.9 kB / 0.6706 GB, free: 200 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.6178, allocations: 50.59 kB / 0.6706 GB, free: 140 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.618, allocations: 77.11 kB / 0.6707 GB, free: 44 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.618, allocations: 34.62 kB / 0.6707 GB, free: 0 / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.618, allocations: 0 / 0.6707 GB, free: 0 / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003829/0.6184, allocations: 105.5 kB / 0.6708 GB, free: 15.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.6184, allocations: 51.41 kB / 0.6709 GB, free: 15.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.6185, allocations: 101.1 kB / 0.671 GB, free: 15.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.6186, allocations: 29.7 kB / 0.671 GB, free: 15.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.6186, allocations: 80.14 kB / 0.6711 GB, free: 15.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.6186, allocations: 3.906 kB / 0.6711 GB, free: 15.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.6186, allocations: 3.938 kB / 0.6711 GB, free: 15.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6188, allocations: 326.8 kB / 0.6714 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.6189, allocations: 15.98 kB / 0.6714 GB, free: 15.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.6189, allocations: 27.98 kB / 0.6714 GB, free: 15.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.813e-05/0.619, allocations: 15.98 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.619, allocations: 4 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.6192, allocations: 85.66 kB / 0.6715 GB, free: 15.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6193, allocations: 4 kB / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.6193, allocations: 0 / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6193, allocations: 0 / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.6194, allocations: 11.98 kB / 0.6715 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6194, allocations: 7.641 kB / 0.6715 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.6195, allocations: 16.02 kB / 0.6716 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.6195, allocations: 0 / 0.6716 GB, free: 15.08 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.6195, allocations: 109.8 kB / 0.6717 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.6196, allocations: 3.906 kB / 0.6717 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.6198, allocations: 88.72 kB / 0.6718 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6198, allocations: 0 / 0.6718 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6198, allocations: 0 / 0.6718 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6198, allocations: 3.953 kB / 0.6718 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.62, allocations: 165.6 kB / 0.6719 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.62, allocations: 0 / 0.6719 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.6201, allocations: 8 kB / 0.6719 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6201, allocations: 8.016 kB / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.6201, allocations: 0 / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6201, allocations: 0 / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6201, allocations: 0 / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.6204, allocations: 179.5 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.6204, allocations: 77.11 kB / 0.6722 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.6204, allocations: 0 / 0.6722 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.6205, allocations: 8 kB / 0.6722 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.6206, allocations: 3.984 kB / 0.6722 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.6206, allocations: 0 / 0.6722 GB, free: 14.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.6206, allocations: 87.22 kB / 0.6723 GB, free: 14.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6206, allocations: 0 / 0.6723 GB, free: 14.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.6208, allocations: 12.03 kB / 0.6723 GB, free: 14.25 MB / 474.7 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 (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.0005519/0.6214, allocations: 0.7278 MB / 0.673 GB, free: 13.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.6216, allocations: 43.97 kB / 0.673 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6216, allocations: 0 / 0.673 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.6217, allocations: 32.02 kB / 0.6731 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.6219, allocations: 11.2 kB / 0.6731 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.6224, allocations: 138.9 kB / 0.6732 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.6226, allocations: 0.677 MB / 0.6739 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.6227, allocations: 8.5 kB / 0.6739 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.6227, allocations: 11.44 kB / 0.6739 GB, free: 12.5 MB / 474.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6227, allocations: 0 / 0.6739 GB, free: 12.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.6341, allocations: 1.125 MB / 0.675 GB, free: 11.49 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.6343, allocations: 175.2 kB / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.208, allocations: 0 / 0.6752 GB, free: 11.25 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)