Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001862/0.001862, allocations: 182.2 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5773/0.5773, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.722/1.722, allocations: 223.2 MB / 354.3 MB, free: 12.07 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.0009204/0.0009204, allocations: 88.3 kB / 427.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003459, allocations: 8 kB / 0.4983 GB, free: 42.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 72.3 MB / 0.5689 GB, free: 1.781 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5273/0.691, allocations: 101.4 MB / 0.668 GB, free: 2.953 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.6913, allocations: 75.95 kB / 0.668 GB, free: 2.879 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002492/0.6938, allocations: 0.8869 MB / 0.6689 GB, free: 2.008 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6938, allocations: 4 kB / 0.6689 GB, free: 2.004 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.6938, allocations: 4 kB / 0.6689 GB, free: 2 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.0002792/0.6941, allocations: 320 kB / 0.6692 GB, free: 1.641 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.6942, allocations: 8.031 kB / 0.6692 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.6942, allocations: 36.75 kB / 0.6693 GB, free: 1.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.6943, allocations: 11.86 kB / 0.6693 GB, free: 1.578 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/0.6944, allocations: 163 kB / 0.6694 GB, free: 1.379 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.6944, allocations: 3.984 kB / 0.6694 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.6944, allocations: 0 / 0.6694 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.6945, allocations: 37.69 kB / 0.6695 GB, free: 1.332 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6945, allocations: 4 kB / 0.6695 GB, free: 1.328 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.6945, allocations: 0 / 0.6695 GB, free: 1.328 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.6946, allocations: 4 kB / 0.6695 GB, free: 1.324 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.6946, allocations: 11.89 kB / 0.6695 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.6948, allocations: 153.7 kB / 0.6696 GB, free: 1.113 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.6949, allocations: 30.61 kB / 0.6697 GB, free: 1.074 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.6951, allocations: 85.11 kB / 0.6698 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.6952, allocations: 34.56 kB / 0.6698 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.6952, allocations: 0 / 0.6698 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.004272/0.6995, allocations: 0.5638 MB / 0.6703 GB, free: 368 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.6995, allocations: 51.41 kB / 0.6704 GB, free: 304 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.6996, allocations: 85 kB / 0.6705 GB, free: 212 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.6996, allocations: 25.7 kB / 0.6705 GB, free: 180 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.6996, allocations: 80.14 kB / 0.6706 GB, free: 96 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.6997, allocations: 24.28 kB / 0.6706 GB, free: 72 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.6997, allocations: 0 / 0.6706 GB, free: 72 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6999, allocations: 318.8 kB / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.7005, allocations: 79.95 kB / 0.671 GB, free: 15.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.7011, allocations: 106.5 kB / 0.6711 GB, free: 15.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.7016, allocations: 91.89 kB / 0.6712 GB, free: 15.47 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7017, allocations: 0 / 0.6712 GB, free: 15.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001185/0.7028, allocations: 213.5 kB / 0.6714 GB, free: 15.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7029, allocations: 16 kB / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7029, allocations: 0 / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7029, allocations: 0 / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.7033, allocations: 51.97 kB / 0.6714 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.7033, allocations: 0 / 0.6714 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.7036, allocations: 43.97 kB / 0.6715 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.7037, allocations: 4 kB / 0.6715 GB, free: 15.14 MB / 474.7 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 (5): * Single equations (assignments): 5 * 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 0.0001051/0.7038, allocations: 121.7 kB / 0.6716 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.7038, allocations: 0 / 0.6716 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.7051, allocations: 233.1 kB / 0.6718 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7051, allocations: 0 / 0.6718 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7052, allocations: 8 kB / 0.6718 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7052, allocations: 0 / 0.6718 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.7067, allocations: 454.4 kB / 0.6723 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.7067, allocations: 3.984 kB / 0.6723 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.7071, allocations: 43.98 kB / 0.6723 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.7071, allocations: 3.984 kB / 0.6723 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.7071, allocations: 432 / 0.6723 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.7071, allocations: 4 kB / 0.6723 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7071, allocations: 0 / 0.6723 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.7084, allocations: 307.7 kB / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.7085, allocations: 81.02 kB / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.7085, allocations: 4.062 kB / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.7089, allocations: 47.97 kB / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.7089, allocations: 7.984 kB / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.7089, allocations: 0 / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.709, allocations: 79.23 kB / 0.6728 GB, free: 13.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.709, allocations: 0 / 0.6728 GB, free: 13.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.7092, allocations: 16 kB / 0.6728 GB, free: 13.65 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 (5): * Single equations (assignments): 5 * 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.001604/0.7108, allocations: 0.8335 MB / 0.6736 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.712, allocations: 179.9 kB / 0.6738 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7121, allocations: 4.188 kB / 0.6738 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.7126, allocations: 91.83 kB / 0.6739 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.7128, allocations: 6.75 kB / 0.6739 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.714, allocations: 244.8 kB / 0.6741 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.7143, allocations: 0.677 MB / 0.6748 GB, free: 11.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.7145, allocations: 35.98 kB / 0.6748 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.7146, allocations: 11.44 kB / 0.6748 GB, free: 11.49 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.7146, allocations: 0 / 0.6748 GB, free: 11.49 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.7276, allocations: 1.407 MB / 0.6762 GB, free: 10.26 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003368/0.728, allocations: 203.1 kB / 0.6764 GB, free: 10.02 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.273, allocations: 0 / 0.6764 GB, free: 10.02 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)