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.0009296/0.0009296, allocations: 182.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4885/0.4885, allocations: 90.81 MB / 104.5 MB, free: 13.9 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.305/1.305, allocations: 221.3 MB / 348.3 MB, free: 12.55 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.0008963/0.0008963, allocations: 93.23 kB / 421.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.734e-05, allocations: 4 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 72.3 MB / 0.5603 GB, free: 6.312 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5508, allocations: 101.6 MB / 0.6596 GB, free: 6.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.5511, allocations: 78.81 kB / 0.6597 GB, free: 6.164 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003221/0.5543, allocations: 1.16 MB / 0.6608 GB, free: 5.121 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5543, allocations: 4 kB / 0.6608 GB, free: 5.117 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.5543, allocations: 0 / 0.6608 GB, free: 5.117 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.0003546/0.5547, allocations: 352 kB / 0.6611 GB, free: 4.734 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5548, allocations: 19.98 kB / 0.6611 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.5548, allocations: 34.44 kB / 0.6612 GB, free: 4.676 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/0.5556, allocations: 191.6 kB / 0.6614 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.5557, allocations: 163.1 kB / 0.6615 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.5558, allocations: 3.25 kB / 0.6615 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.5558, allocations: 4 kB / 0.6615 GB, free: 4.285 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.556, allocations: 110.7 kB / 0.6616 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.556, allocations: 0 / 0.6616 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.556, allocations: 7.562 kB / 0.6616 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5561, allocations: 0 / 0.6616 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.5562, allocations: 124.4 kB / 0.6618 GB, free: 4.098 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.5571, allocations: 467 kB / 0.6622 GB, free: 3.629 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.5575, allocations: 156.9 kB / 0.6624 GB, free: 3.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.5576, allocations: 51.97 kB / 0.6624 GB, free: 3.457 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.5576, allocations: 7.375 kB / 0.6624 GB, free: 3.453 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.5577, allocations: 30.56 kB / 0.6624 GB, free: 3.414 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5577, allocations: 0 / 0.6624 GB, free: 3.414 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002505/0.5579, allocations: 114.4 kB / 0.6625 GB, free: 3.316 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.558, allocations: 51.41 kB / 0.6626 GB, free: 3.254 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.5581, allocations: 112.8 kB / 0.6627 GB, free: 3.141 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.5581, allocations: 25.7 kB / 0.6627 GB, free: 3.109 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.5581, allocations: 91.62 kB / 0.6628 GB, free: 3.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.5582, allocations: 11.84 kB / 0.6628 GB, free: 3.012 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.5582, allocations: 0 / 0.6628 GB, free: 3.012 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.5583, allocations: 310.8 kB / 0.6631 GB, free: 2.699 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.5584, allocations: 49.28 kB / 0.6632 GB, free: 2.664 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.5584, allocations: 40.53 kB / 0.6632 GB, free: 2.637 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.5585, allocations: 33.41 kB / 0.6632 GB, free: 2.613 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5585, allocations: 0 / 0.6632 GB, free: 2.613 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001888/0.5587, allocations: 119.8 kB / 0.6634 GB, free: 2.512 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5587, allocations: 7.938 kB / 0.6634 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5587, allocations: 4 kB / 0.6634 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5587, allocations: 0 / 0.6634 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.559, allocations: 43.94 kB / 0.6634 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.559, allocations: 0.7031 kB / 0.6634 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.5592, allocations: 43.89 kB / 0.6634 GB, free: 2.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.5592, allocations: 0 / 0.6634 GB, free: 2.414 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.002e-05/0.5593, allocations: 108 kB / 0.6636 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.5593, allocations: 3.953 kB / 0.6636 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.5594, allocations: 14.7 kB / 0.6636 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5594, allocations: 0.875 kB / 0.6636 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5594, allocations: 4 kB / 0.6636 GB, free: 2.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5594, allocations: 0 / 0.6636 GB, free: 2.281 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.5596, allocations: 209.1 kB / 0.6638 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5597, allocations: 0 / 0.6638 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.5599, allocations: 43.91 kB / 0.6638 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5599, allocations: 4 kB / 0.6638 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5599, allocations: 7.984 kB / 0.6638 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5599, allocations: 0 / 0.6638 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5599, allocations: 0 / 0.6638 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.5601, allocations: 204 kB / 0.664 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.5602, allocations: 85.02 kB / 0.6641 GB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.5602, allocations: 3.953 kB / 0.6641 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.5604, allocations: 43.2 kB / 0.6641 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.5605, allocations: 3.984 kB / 0.6642 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.5605, allocations: 0 / 0.6642 GB, free: 1.648 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.5606, allocations: 99.14 kB / 0.6642 GB, free: 1.555 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5606, allocations: 0 / 0.6642 GB, free: 1.555 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.5608, allocations: 15.69 kB / 0.6643 GB, free: 1.543 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.0004626/0.5612, allocations: 0.7308 MB / 0.665 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.5614, allocations: 97.28 kB / 0.6651 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5614, allocations: 0 / 0.6651 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.5615, allocations: 45.78 kB / 0.6651 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.5617, allocations: 15.7 kB / 0.6651 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.5624, allocations: 220.5 kB / 0.6653 GB, free: 468 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.5626, allocations: 0.6887 MB / 0.666 GB, free: 15.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.5627, allocations: 19.98 kB / 0.666 GB, free: 15.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.5628, allocations: 18.23 kB / 0.666 GB, free: 15.71 MB / 474.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5628, allocations: 4 kB / 0.666 GB, free: 15.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.5743, allocations: 1.618 MB / 0.6676 GB, free: 14.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.5745, allocations: 146.8 kB / 0.6678 GB, free: 13.97 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.329/1.903, allocations: 0 / 0.6678 GB, free: 13.97 MB / 474.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)