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.001565/0.001565, allocations: 175.4 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5511/0.5511, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.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: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008703/0.0008704, allocations: 99.83 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.025e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1709, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.518/0.689, allocations: 101.2 MB / 0.6525 GB, free: 9.082 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.6893, allocations: 71.38 kB / 0.6525 GB, free: 9.047 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003184/0.6925, allocations: 1.109 MB / 0.6536 GB, free: 8.086 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6925, allocations: 0 / 0.6536 GB, free: 8.086 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.6925, allocations: 0 / 0.6536 GB, free: 8.086 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.000373/0.6929, allocations: 347 kB / 0.654 GB, free: 7.703 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.693, allocations: 8.031 kB / 0.654 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.693, allocations: 3.953 kB / 0.654 GB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.6931, allocations: 177 kB / 0.6541 GB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.6932, allocations: 0 / 0.6541 GB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.6932, allocations: 0 / 0.6541 GB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.494e-05/0.6933, allocations: 15.12 kB / 0.6541 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.6934, allocations: 32.77 kB / 0.6542 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6934, allocations: 0 / 0.6542 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6934, allocations: 0 / 0.6542 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6934, allocations: 6.688 kB / 0.6542 GB, free: 7.434 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.6938, allocations: 243.7 kB / 0.6544 GB, free: 7.164 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.6939, allocations: 25.83 kB / 0.6544 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.6939, allocations: 12.17 kB / 0.6545 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.6941, allocations: 85.09 kB / 0.6545 GB, free: 7.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.6941, allocations: 34.5 kB / 0.6546 GB, free: 6.977 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.6941, allocations: 4 kB / 0.6546 GB, free: 6.973 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002725/0.6944, allocations: 52.03 kB / 0.6546 GB, free: 6.922 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.6944, allocations: 55.36 kB / 0.6547 GB, free: 6.855 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.6945, allocations: 96.19 kB / 0.6548 GB, free: 6.758 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.6945, allocations: 25.7 kB / 0.6548 GB, free: 6.727 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.6946, allocations: 84.12 kB / 0.6549 GB, free: 6.641 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.6946, allocations: 10.97 kB / 0.6549 GB, free: 6.633 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.6946, allocations: 0 / 0.6549 GB, free: 6.633 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6947, allocations: 319.6 kB / 0.6552 GB, free: 6.312 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.6948, allocations: 3.562 kB / 0.6552 GB, free: 6.312 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.6948, allocations: 4 kB / 0.6552 GB, free: 6.309 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.6949, allocations: 15.55 kB / 0.6552 GB, free: 6.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.6949, allocations: 0 / 0.6552 GB, free: 6.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.695, allocations: 56.67 kB / 0.6553 GB, free: 6.238 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.695, allocations: 4 kB / 0.6553 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.695, allocations: 0 / 0.6553 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6951, allocations: 8.031 kB / 0.6553 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.6952, allocations: 8 kB / 0.6553 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.6952, allocations: 7.922 kB / 0.6553 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.6952, allocations: 11.95 kB / 0.6553 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.6952, allocations: 0 / 0.6553 GB, free: 6.199 MB / 458.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 () * 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 5.744e-05/0.6953, allocations: 101 kB / 0.6554 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001325/0.6954, allocations: 53.8 kB / 0.6554 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.6955, allocations: 7.938 kB / 0.6555 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.6956, allocations: 65.8 kB / 0.6555 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6957, allocations: 0 / 0.6555 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6957, allocations: 3.953 kB / 0.6555 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6957, allocations: 0 / 0.6555 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.6958, allocations: 133.5 kB / 0.6556 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6958, allocations: 0 / 0.6556 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.6959, allocations: 11.98 kB / 0.6557 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6959, allocations: 4.031 kB / 0.6557 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.6959, allocations: 4 kB / 0.6557 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6959, allocations: 0 / 0.6557 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6959, allocations: 0 / 0.6557 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.6961, allocations: 158.7 kB / 0.6558 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.6962, allocations: 77.11 kB / 0.6559 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.6962, allocations: 0.75 kB / 0.6559 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.6963, allocations: 16.02 kB / 0.6559 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.6963, allocations: 0 / 0.6559 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.6963, allocations: 0 / 0.6559 GB, free: 5.508 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.807e-05/0.6964, allocations: 86.53 kB / 0.656 GB, free: 5.426 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6964, allocations: 0 / 0.656 GB, free: 5.426 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.6966, allocations: 8 kB / 0.656 GB, free: 5.418 MB / 458.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 () * 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.0004846/0.6971, allocations: 0.6872 MB / 0.6567 GB, free: 4.711 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.6972, allocations: 15.88 kB / 0.6567 GB, free: 4.699 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6972, allocations: 0 / 0.6567 GB, free: 4.699 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.6972, allocations: 7.688 kB / 0.6567 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.6974, allocations: 7.984 kB / 0.6567 GB, free: 4.688 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.6978, allocations: 101.8 kB / 0.6568 GB, free: 4.555 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6981, allocations: 0.6768 MB / 0.6575 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.969e-05/0.6981, allocations: 4 kB / 0.6575 GB, free: 3.848 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.6981, allocations: 7.438 kB / 0.6575 GB, free: 3.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6982, allocations: 3.938 kB / 0.6575 GB, free: 3.836 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.7184, allocations: 0.8228 MB / 0.6583 GB, free: 3.027 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.7187, allocations: 136.4 kB / 0.6584 GB, free: 2.832 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.307, allocations: 0 / 0.6584 GB, free: 2.832 MB / 458.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)