Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.001392/0.001392, allocations: 177.5 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6043/0.6043, allocations: 90.91 MB / 99.34 MB, free: 2.117 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.592/1.592, allocations: 221.5 MB / 343.2 MB, free: 1.57 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.001208/0.001208, allocations: 102.4 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.156e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1471, allocations: 72.29 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.6257, allocations: 101 MB / 0.6522 GB, free: 9.254 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.626, allocations: 80.08 kB / 0.6523 GB, free: 9.211 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003341/0.6294, allocations: 1.153 MB / 0.6534 GB, free: 8.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6294, allocations: 0 / 0.6534 GB, free: 8.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.6294, allocations: 0 / 0.6534 GB, free: 8.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004039/0.6298, allocations: 350.8 kB / 0.6538 GB, free: 7.797 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6299, allocations: 12.02 kB / 0.6538 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.6307, allocations: 191.4 kB / 0.654 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.6309, allocations: 171 kB / 0.6541 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6309, allocations: 0 / 0.6541 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.6309, allocations: 7.938 kB / 0.6541 GB, free: 7.387 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002239/0.6311, allocations: 112.5 kB / 0.6542 GB, free: 7.309 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.6313, allocations: 107.5 kB / 0.6544 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6313, allocations: 0 / 0.6544 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6314, allocations: 0 / 0.6544 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.6314, allocations: 7.938 kB / 0.6544 GB, free: 7.207 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/0.6323, allocations: 446.6 kB / 0.6548 GB, free: 6.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.6327, allocations: 153.6 kB / 0.6549 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.6328, allocations: 54.19 kB / 0.655 GB, free: 6.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.6328, allocations: 0 / 0.655 GB, free: 6.602 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.6328, allocations: 38.44 kB / 0.655 GB, free: 6.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.6328, allocations: 0 / 0.655 GB, free: 6.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002386/0.6331, allocations: 105.6 kB / 0.6551 GB, free: 6.469 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6331, allocations: 55.41 kB / 0.6552 GB, free: 6.402 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.6332, allocations: 91.88 kB / 0.6553 GB, free: 6.309 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.6333, allocations: 29.7 kB / 0.6553 GB, free: 6.273 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.6333, allocations: 91.09 kB / 0.6554 GB, free: 6.184 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.6333, allocations: 11.34 kB / 0.6554 GB, free: 6.176 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.6334, allocations: 4 kB / 0.6554 GB, free: 6.172 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6335, allocations: 310.8 kB / 0.6557 GB, free: 5.859 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.6336, allocations: 41.03 kB / 0.6557 GB, free: 5.832 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.6337, allocations: 49.66 kB / 0.6558 GB, free: 5.797 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.6337, allocations: 26.72 kB / 0.6558 GB, free: 5.777 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6337, allocations: 4 kB / 0.6558 GB, free: 5.773 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001649/0.6339, allocations: 104.1 kB / 0.6559 GB, free: 5.688 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6339, allocations: 9.359 kB / 0.6559 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6339, allocations: 0 / 0.6559 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6339, allocations: 0 / 0.6559 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.6342, allocations: 51.88 kB / 0.656 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6342, allocations: 0 / 0.656 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.6344, allocations: 43.89 kB / 0.656 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6345, allocations: 0 / 0.656 GB, free: 5.586 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 (3): * Single equations (assignments): 3 * 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 8.098e-05/0.6345, allocations: 104.2 kB / 0.6561 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001684/0.6347, allocations: 112.7 kB / 0.6562 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.6348, allocations: 7.938 kB / 0.6562 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.6348, allocations: 10.78 kB / 0.6562 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6348, allocations: 0 / 0.6562 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6348, allocations: 0 / 0.6562 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6348, allocations: 4 kB / 0.6562 GB, free: 5.363 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.635, allocations: 183.6 kB / 0.6564 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.635, allocations: 0 / 0.6564 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.6353, allocations: 43.39 kB / 0.6564 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.6353, allocations: 7.891 kB / 0.6565 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.6353, allocations: 0 / 0.6565 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6353, allocations: 1.938 kB / 0.6565 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6353, allocations: 4 kB / 0.6565 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.6356, allocations: 206.1 kB / 0.6567 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.6356, allocations: 77.11 kB / 0.6567 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.6356, allocations: 7.891 kB / 0.6567 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.6359, allocations: 40 kB / 0.6568 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.6359, allocations: 7.969 kB / 0.6568 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.6359, allocations: 4 kB / 0.6568 GB, free: 4.762 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.636, allocations: 83.5 kB / 0.6569 GB, free: 4.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.636, allocations: 0 / 0.6569 GB, free: 4.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.6362, allocations: 12 kB / 0.6569 GB, free: 4.672 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 (3): * Single equations (assignments): 3 * 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.0004845/0.6367, allocations: 0.7356 MB / 0.6576 GB, free: 3.934 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.6369, allocations: 90.06 kB / 0.6577 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6369, allocations: 3.938 kB / 0.6577 GB, free: 3.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.637, allocations: 49.33 kB / 0.6577 GB, free: 3.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.6372, allocations: 8.5 kB / 0.6577 GB, free: 3.824 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007883/0.638, allocations: 214.1 kB / 0.6579 GB, free: 3.594 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.6383, allocations: 0.6885 MB / 0.6586 GB, free: 2.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.619e-05/0.6384, allocations: 19.98 kB / 0.6586 GB, free: 2.859 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.6384, allocations: 18.06 kB / 0.6587 GB, free: 2.848 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6384, allocations: 0 / 0.6587 GB, free: 2.848 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.6566, allocations: 1.21 MB / 0.6598 GB, free: 1.648 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.6568, allocations: 128.2 kB / 0.66 GB, free: 1.453 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.145, allocations: 0 / 0.66 GB, free: 1.453 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)