Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8802/0.8802, allocations: 127.4 MB / 134.9 MB, free: 3.441 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001582, allocations: 177.1 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000983/0.000983, allocations: 100.4 kB / 476.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.231e-05, allocations: 2.938 kB / 0.5467 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1785, allocations: 76.78 MB / 0.6216 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.3138, allocations: 102 MB / 0.7213 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.3141, allocations: 79.94 kB / 0.7214 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00377/0.3179, allocations: 1.154 MB / 0.7225 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.286e-06/0.318, allocations: 4 kB / 0.7225 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.318, allocations: 0 / 0.7225 GB, free: 3.582 MB / 0.4948 GB 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.0003787/0.3184, allocations: 354.5 kB / 0.7228 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3184, allocations: 12.03 kB / 0.7228 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008578/0.3193, allocations: 195.6 kB / 0.723 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3194, allocations: 167 kB / 0.7232 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3195, allocations: 4 kB / 0.7232 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3195, allocations: 0 / 0.7232 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002181/0.3197, allocations: 115.9 kB / 0.7233 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3199, allocations: 113.6 kB / 0.7234 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3199, allocations: 4 kB / 0.7234 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3199, allocations: 0 / 0.7234 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3199, allocations: 3.984 kB / 0.7234 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.3209, allocations: 421.9 kB / 0.7238 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.3213, allocations: 162.4 kB / 0.724 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.3214, allocations: 44.98 kB / 0.724 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.3214, allocations: 11.89 kB / 0.724 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3215, allocations: 30.56 kB / 0.7241 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.3215, allocations: 0 / 0.7241 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002623/0.3217, allocations: 105.6 kB / 0.7242 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.3218, allocations: 55.41 kB / 0.7242 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.3219, allocations: 96.98 kB / 0.7243 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3219, allocations: 29.7 kB / 0.7243 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.322, allocations: 95.98 kB / 0.7244 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.322, allocations: 7.906 kB / 0.7244 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.322, allocations: 0 / 0.7244 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3221, allocations: 314.8 kB / 0.7247 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.3222, allocations: 43.97 kB / 0.7248 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.3223, allocations: 39.97 kB / 0.7248 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.3224, allocations: 31.98 kB / 0.7248 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3224, allocations: 0 / 0.7248 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001728/0.3225, allocations: 113.5 kB / 0.7249 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3226, allocations: 11.94 kB / 0.725 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3226, allocations: 3.953 kB / 0.725 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3226, allocations: 0 / 0.725 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.3229, allocations: 39.95 kB / 0.725 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3229, allocations: 0 / 0.725 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3231, allocations: 35.95 kB / 0.725 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3231, allocations: 11.92 kB / 0.725 GB, free: 0.7617 MB / 0.4948 GB 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 9.218e-05/0.3232, allocations: 101 kB / 0.7251 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001856/0.3234, allocations: 105.6 kB / 0.7252 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.3235, allocations: 11.86 kB / 0.7253 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.3235, allocations: 8.344 kB / 0.7253 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3235, allocations: 4 kB / 0.7253 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3235, allocations: 4 kB / 0.7253 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3235, allocations: 0 / 0.7253 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.3237, allocations: 182.2 kB / 0.7254 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3237, allocations: 0 / 0.7254 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.324, allocations: 51.88 kB / 0.7255 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.324, allocations: 7.891 kB / 0.7255 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.324, allocations: 0 / 0.7255 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.324, allocations: 4 kB / 0.7255 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.324, allocations: 0 / 0.7255 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.3243, allocations: 195.5 kB / 0.7257 GB, free: 36 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3243, allocations: 89.28 kB / 0.7258 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3244, allocations: 3.953 kB / 0.7258 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.3246, allocations: 35.95 kB / 0.7258 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3246, allocations: 7.984 kB / 0.7258 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3247, allocations: 0 / 0.7258 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.3247, allocations: 91.27 kB / 0.7259 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3247, allocations: 0 / 0.7259 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002385/0.325, allocations: 16 kB / 0.7259 GB, free: 15.78 MB / 0.5105 GB 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.0004892/0.3255, allocations: 0.7262 MB / 0.7266 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.3257, allocations: 95.92 kB / 0.7267 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3257, allocations: 0 / 0.7267 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.3258, allocations: 43.97 kB / 0.7268 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.326, allocations: 8.5 kB / 0.7268 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.3268, allocations: 217.3 kB / 0.727 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.3273, allocations: 0.6924 MB / 0.7277 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.3274, allocations: 15.98 kB / 0.7277 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.3275, allocations: 15.42 kB / 0.7277 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.3275, allocations: 8 kB / 0.7277 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.3507, allocations: 1.202 MB / 0.7289 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.351, allocations: 137.8 kB / 0.729 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.917, allocations: 0 / 0.729 GB, free: 12.48 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)