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.7507/0.7507, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001098/0.001098, allocations: 182.3 kB / 173.7 MB, free: 6.125 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.841/1.841, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008834/0.0008834, allocations: 97.27 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.000367, allocations: 13.41 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 76.78 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.3094, allocations: 102.8 MB / 0.7358 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.3097, allocations: 75.94 kB / 0.7359 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003459/0.3131, allocations: 1.184 MB / 0.737 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3132, allocations: 4 kB / 0.737 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3132, allocations: 0 / 0.737 GB, free: 6.277 MB / 0.5105 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.0004149/0.3136, allocations: 363.2 kB / 0.7374 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3137, allocations: 8.031 kB / 0.7374 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.3137, allocations: 38.5 kB / 0.7374 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.3145, allocations: 195.6 kB / 0.7376 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3146, allocations: 167.1 kB / 0.7378 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3147, allocations: 0 / 0.7378 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3147, allocations: 4 kB / 0.7378 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.3153, allocations: 213.5 kB / 0.738 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3153, allocations: 0 / 0.738 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3153, allocations: 4 kB / 0.738 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3153, allocations: 0 / 0.738 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/0.3161, allocations: 323.5 kB / 0.7383 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.3171, allocations: 453.4 kB / 0.7387 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3182, allocations: 346.2 kB / 0.739 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.3183, allocations: 8.047 kB / 0.739 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3183, allocations: 34.5 kB / 0.7391 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3183, allocations: 0 / 0.7391 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.001204/0.3195, allocations: 369.3 kB / 0.7394 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3196, allocations: 51.41 kB / 0.7395 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.3197, allocations: 109.2 kB / 0.7396 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.3197, allocations: 33.64 kB / 0.7396 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.3198, allocations: 88.14 kB / 0.7397 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3198, allocations: 3.906 kB / 0.7397 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.3198, allocations: 384 / 0.7397 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3199, allocations: 326.8 kB / 0.74 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.3203, allocations: 111.8 kB / 0.7401 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.3206, allocations: 115.9 kB / 0.7402 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.321, allocations: 103.8 kB / 0.7403 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.321, allocations: 0 / 0.7403 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00072/0.3217, allocations: 261.3 kB / 0.7406 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3218, allocations: 4 kB / 0.7406 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3218, allocations: 0 / 0.7406 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3218, allocations: 0 / 0.7406 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3221, allocations: 47.94 kB / 0.7406 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3221, allocations: 0 / 0.7406 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3223, allocations: 35.95 kB / 0.7407 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3223, allocations: 4 kB / 0.7407 GB, free: 2.312 MB / 0.5105 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 () * Number of clocked 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.706e-05/0.3224, allocations: 117.8 kB / 0.7408 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.3224, allocations: 7.953 kB / 0.7408 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.3225, allocations: 11.84 kB / 0.7408 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3225, allocations: 4 kB / 0.7408 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3225, allocations: 0 / 0.7408 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3225, allocations: 0 / 0.7408 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3227, allocations: 209.5 kB / 0.741 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3228, allocations: 4 kB / 0.741 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.323, allocations: 39.94 kB / 0.741 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.323, allocations: 7.953 kB / 0.741 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.323, allocations: 0 / 0.741 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.323, allocations: 0 / 0.741 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.323, allocations: 0 / 0.741 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.3238, allocations: 343.3 kB / 0.7414 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.3238, allocations: 92.94 kB / 0.7415 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3239, allocations: 3.953 kB / 0.7415 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.3241, allocations: 43.95 kB / 0.7415 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3241, allocations: 3.938 kB / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3242, allocations: 0 / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.3242, allocations: 99.2 kB / 0.7416 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3242, allocations: 0 / 0.7416 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002196/0.3245, allocations: 16 kB / 0.7416 GB, free: 1.227 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 () * Number of clocked 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.00106/0.3255, allocations: 0.8788 MB / 0.7425 GB, free: 332 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007224/0.3263, allocations: 231.7 kB / 0.7427 GB, free: 100 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3263, allocations: 7.938 kB / 0.7427 GB, free: 92 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.2783/0.6046, allocations: 112.7 kB / 0.7428 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.6049, allocations: 8.156 kB / 0.7428 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.6075, allocations: 0.9058 MB / 0.7437 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.6078, allocations: 0.6921 MB / 0.7444 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.6079, allocations: 18.34 kB / 0.7444 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.6079, allocations: 19.03 kB / 0.7444 GB, free: 109 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/0.608, allocations: 0 / 0.7444 GB, free: 109 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.6202, allocations: 1.646 MB / 0.746 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.6204, allocations: 182.8 kB / 0.7462 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.116, allocations: 3.469 kB / 0.7462 GB, free: 108.7 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)