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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9196/0.9196, allocations: 145.2 MB / 447.9 MB, free: 13.72 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 68.75 kB / 0.62 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1398, allocations: 86.66 MB / 0.7046 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002801/0.1426, allocations: 1.464 MB / 0.706 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.143, allocations: 148.4 kB / 0.7061 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.1431, allocations: 0 / 0.7061 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/0.1431, allocations: 3.938 kB / 0.7062 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.1432, allocations: 7.922 kB / 0.7062 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1434, allocations: 27.91 kB / 0.7062 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.1435, allocations: 39.91 kB / 0.7062 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1436, allocations: 20.28 kB / 0.7062 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.1437, allocations: 19.91 kB / 0.7063 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.1437, allocations: 23.92 kB / 0.7063 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1438, allocations: 4 kB / 0.7063 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.1438, allocations: 35.91 kB / 0.7063 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1439, allocations: 8 kB / 0.7063 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.1439, allocations: 19.86 kB / 0.7063 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.144, allocations: 67.78 kB / 0.7064 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.144, allocations: 7.938 kB / 0.7064 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.144, allocations: 0 / 0.7064 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1441, allocations: 0 / 0.7064 GB, free: 1.277 MB / 0.5137 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.0005231/0.1446, allocations: 363.2 kB / 0.7068 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1446, allocations: 8.031 kB / 0.7068 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.1447, allocations: 46.67 kB / 0.7068 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.1457, allocations: 200.6 kB / 0.707 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1459, allocations: 176.3 kB / 0.7072 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.1459, allocations: 8.312 kB / 0.7072 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1459, allocations: 4.375 kB / 0.7072 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.1464, allocations: 194 kB / 0.7074 GB, free: 200 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1464, allocations: 7.938 kB / 0.7074 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1464, allocations: 0 / 0.7074 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1464, allocations: 4 kB / 0.7074 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/0.1473, allocations: 279.6 kB / 0.7077 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.1482, allocations: 445 kB / 0.7081 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1493, allocations: 290.2 kB / 0.7084 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.1496, allocations: 96.8 kB / 0.7084 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1496, allocations: 3.984 kB / 0.7085 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1496, allocations: 34.5 kB / 0.7085 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1496, allocations: 0 / 0.7085 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001184/0.1508, allocations: 313.5 kB / 0.7088 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1509, allocations: 51.41 kB / 0.7088 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.151, allocations: 121.8 kB / 0.7089 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.151, allocations: 25.7 kB / 0.709 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.151, allocations: 88.12 kB / 0.7091 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1511, allocations: 11.95 kB / 0.7091 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.1511, allocations: 13.72 kB / 0.7091 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1512, allocations: 322.8 kB / 0.7094 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.1516, allocations: 95.88 kB / 0.7095 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1519, allocations: 103.8 kB / 0.7096 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.1525, allocations: 172.6 kB / 0.7097 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1525, allocations: 4.359 kB / 0.7097 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006905/0.1532, allocations: 205.4 kB / 0.7099 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1532, allocations: 11.98 kB / 0.71 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1532, allocations: 4 kB / 0.71 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1533, allocations: 3.938 kB / 0.71 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1535, allocations: 31.95 kB / 0.71 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1535, allocations: 0 / 0.71 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1537, allocations: 39.83 kB / 0.71 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1537, allocations: 3.984 kB / 0.71 GB, free: 13.34 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/0.1538, allocations: 117.7 kB / 0.7101 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1538, allocations: 7.953 kB / 0.7102 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1539, allocations: 15.89 kB / 0.7102 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1539, allocations: 0 / 0.7102 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1539, allocations: 0 / 0.7102 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1539, allocations: 4 kB / 0.7102 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1541, allocations: 205.5 kB / 0.7104 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1541, allocations: 0 / 0.7104 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.1543, allocations: 31.95 kB / 0.7104 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1543, allocations: 4 kB / 0.7104 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1544, allocations: 3.984 kB / 0.7104 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1544, allocations: 4 kB / 0.7104 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1544, allocations: 0 / 0.7104 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.1551, allocations: 315.2 kB / 0.7107 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.1552, allocations: 77.11 kB / 0.7108 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1552, allocations: 0 / 0.7108 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1554, allocations: 39.89 kB / 0.7108 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1555, allocations: 3.984 kB / 0.7108 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1555, allocations: 4 kB / 0.7108 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.1555, allocations: 91.27 kB / 0.7109 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1555, allocations: 4 kB / 0.7109 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002348/0.1558, allocations: 15.94 kB / 0.7109 GB, free: 12.31 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.1568, allocations: 0.8372 MB / 0.7118 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007979/0.1576, allocations: 199.7 kB / 0.7119 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1576, allocations: 4 kB / 0.712 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.158, allocations: 96.2 kB / 0.712 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1582, allocations: 8.266 kB / 0.712 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.1617, allocations: 1.838 MB / 0.7138 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.162, allocations: 0.6885 MB / 0.7145 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.498e-05/0.1621, allocations: 23.92 kB / 0.7145 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.1621, allocations: 23.42 kB / 0.7146 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1621, allocations: 0 / 0.7146 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.1878, allocations: 1.968 MB / 0.7165 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.015, allocations: 15.42 kB / 0.7165 GB, free: 6.578 MB / 0.5294 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.760682955384254] Failed to read output from testmodel.py, exit status != 0: 8.081794443074614 8.105371283 7.957263876 Calling exit ...