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.7322/0.7322, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 188.8 kB / 169.7 MB, free: 1.734 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.962/1.962, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.000958/0.000958, allocations: 83.77 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.112e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6135/0.8089, allocations: 102.7 MB / 0.7285 GB, free: 10.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.8092, allocations: 70.89 kB / 0.7286 GB, free: 10.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003515/0.8127, allocations: 1.174 MB / 0.7298 GB, free: 9.559 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8128, allocations: 7.938 kB / 0.7298 GB, free: 9.551 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.8128, allocations: 4 kB / 0.7298 GB, free: 9.547 MB / 490.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.000415/0.8132, allocations: 345.9 kB / 0.7301 GB, free: 9.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8133, allocations: 8.031 kB / 0.7301 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.8133, allocations: 41.86 kB / 0.7301 GB, free: 9.113 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.8142, allocations: 188.4 kB / 0.7303 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.8143, allocations: 167.1 kB / 0.7305 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.8144, allocations: 6.75 kB / 0.7305 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.8144, allocations: 4 kB / 0.7305 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.8146, allocations: 112.5 kB / 0.7306 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.8146, allocations: 0 / 0.7306 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8147, allocations: 0 / 0.7306 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.8147, allocations: 4 kB / 0.7306 GB, free: 8.621 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.8149, allocations: 119.9 kB / 0.7307 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.8158, allocations: 454.1 kB / 0.7312 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.8163, allocations: 173.6 kB / 0.7313 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.8164, allocations: 48.05 kB / 0.7314 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.8164, allocations: 0 / 0.7314 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.8164, allocations: 37.56 kB / 0.7314 GB, free: 7.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8164, allocations: 4 kB / 0.7314 GB, free: 7.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000268/0.8167, allocations: 112.8 kB / 0.7315 GB, free: 7.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.8168, allocations: 54.12 kB / 0.7316 GB, free: 7.695 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.8169, allocations: 108.8 kB / 0.7317 GB, free: 7.582 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.8169, allocations: 29.7 kB / 0.7317 GB, free: 7.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.817, allocations: 87.33 kB / 0.7318 GB, free: 7.465 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.817, allocations: 3.906 kB / 0.7318 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.817, allocations: 4 kB / 0.7318 GB, free: 7.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8172, allocations: 318.8 kB / 0.7321 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.8173, allocations: 42.84 kB / 0.7321 GB, free: 7.109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.8173, allocations: 43.72 kB / 0.7322 GB, free: 7.078 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.8174, allocations: 38.03 kB / 0.7322 GB, free: 7.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8174, allocations: 0 / 0.7322 GB, free: 7.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001867/0.8176, allocations: 115.9 kB / 0.7323 GB, free: 6.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8176, allocations: 4 kB / 0.7323 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8176, allocations: 3.938 kB / 0.7323 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.8177, allocations: 0 / 0.7323 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.8179, allocations: 50.06 kB / 0.7324 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8179, allocations: 0 / 0.7324 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.8182, allocations: 43.83 kB / 0.7324 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.8182, allocations: 3.875 kB / 0.7324 GB, free: 6.855 MB / 490.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.456e-05/0.8183, allocations: 106.2 kB / 0.7325 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.8183, allocations: 11.86 kB / 0.7325 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.8184, allocations: 8.031 kB / 0.7325 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8184, allocations: 0 / 0.7325 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8184, allocations: 0 / 0.7325 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8184, allocations: 0 / 0.7325 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.8186, allocations: 206.8 kB / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8186, allocations: 0 / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.8189, allocations: 48.31 kB / 0.7328 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.8189, allocations: 3.953 kB / 0.7328 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.8189, allocations: 0 / 0.7328 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8189, allocations: 0 / 0.7328 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8189, allocations: 3.938 kB / 0.7328 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.8192, allocations: 213.2 kB / 0.733 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.8192, allocations: 85.02 kB / 0.7331 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.8193, allocations: 3.953 kB / 0.7331 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.8195, allocations: 35.39 kB / 0.7331 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.8195, allocations: 7.984 kB / 0.7331 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.8196, allocations: 4 kB / 0.7331 GB, free: 6.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.8196, allocations: 90.66 kB / 0.7332 GB, free: 6.004 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8196, allocations: 0 / 0.7332 GB, free: 6.004 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.8198, allocations: 15.38 kB / 0.7332 GB, free: 5.992 MB / 490.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.0005403/0.8204, allocations: 0.732 MB / 0.7339 GB, free: 5.258 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.8206, allocations: 103.4 kB / 0.734 GB, free: 5.184 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8206, allocations: 0 / 0.734 GB, free: 5.184 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.8207, allocations: 44.22 kB / 0.7341 GB, free: 5.152 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.8209, allocations: 7.953 kB / 0.7341 GB, free: 5.145 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/0.8217, allocations: 219.6 kB / 0.7343 GB, free: 4.914 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.822, allocations: 0.6926 MB / 0.735 GB, free: 4.195 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.172e-05/0.8221, allocations: 23.89 kB / 0.735 GB, free: 4.172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.8222, allocations: 15.05 kB / 0.735 GB, free: 4.16 MB / 490.7 MB Notification: Performance of SimCode: time 3.9e-07/0.8222, allocations: 0 / 0.735 GB, free: 4.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.8351, allocations: 1.642 MB / 0.7366 GB, free: 2.621 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.8354, allocations: 156.9 kB / 0.7368 GB, free: 2.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.429, allocations: 0 / 0.7368 GB, free: 2.395 MB / 490.7 MB (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)