Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.001338/0.001338, allocations: 103.2 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.001398/0.001398, allocations: 188.6 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.425/1.425, 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.9226/0.9226, allocations: 145.2 MB / 447.9 MB, free: 13.78 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.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 65.83 kB / 0.6199 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1554, allocations: 86.65 MB / 0.7046 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.003131/0.1585, allocations: 1.551 MB / 0.7061 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.1589, allocations: 116.5 kB / 0.7062 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.159, allocations: 0 / 0.7062 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1591, allocations: 7.875 kB / 0.7062 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.256e-05/0.1591, allocations: 7.938 kB / 0.7062 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1593, allocations: 27.95 kB / 0.7062 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1595, allocations: 51.84 kB / 0.7063 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1596, allocations: 27.97 kB / 0.7063 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.1597, allocations: 23.92 kB / 0.7063 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.1598, allocations: 31.84 kB / 0.7064 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1598, allocations: 4 kB / 0.7064 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.1599, allocations: 12 kB / 0.7064 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.1599, allocations: 15.92 kB / 0.7064 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.16, allocations: 23.86 kB / 0.7064 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1601, allocations: 67.89 kB / 0.7065 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1601, allocations: 0 / 0.7065 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.035e-05/0.1602, allocations: 4 kB / 0.7065 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1602, allocations: 4 kB / 0.7065 GB, free: 1.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006247/0.1608, allocations: 383.1 kB / 0.7069 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1609, allocations: 8.031 kB / 0.7069 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.1609, allocations: 38.75 kB / 0.7069 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1609, allocations: 4.922 kB / 0.7069 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1612, allocations: 184.3 kB / 0.7071 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1612, allocations: 4.375 kB / 0.7071 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1612, allocations: 4.375 kB / 0.7071 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1615, allocations: 90.14 kB / 0.7072 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1615, allocations: 3.938 kB / 0.7072 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1615, allocations: 0 / 0.7072 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1615, allocations: 7.984 kB / 0.7072 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1618, allocations: 79.91 kB / 0.7073 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.1624, allocations: 336.6 kB / 0.7076 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1626, allocations: 54.53 kB / 0.7076 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.1628, allocations: 44.91 kB / 0.7077 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.1628, allocations: 4 kB / 0.7077 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.163, allocations: 34.56 kB / 0.7077 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.163, allocations: 0 / 0.7077 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005396/0.1635, allocations: 141.6 kB / 0.7079 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.1636, allocations: 51.41 kB / 0.7079 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.1637, allocations: 117.8 kB / 0.708 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1637, allocations: 25.7 kB / 0.708 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1638, allocations: 96.08 kB / 0.7081 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1639, allocations: 7.891 kB / 0.7081 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1639, allocations: 17.72 kB / 0.7082 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002673/0.1642, allocations: 326.8 kB / 0.7085 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1643, allocations: 31.97 kB / 0.7085 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1644, allocations: 31.95 kB / 0.7085 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.1647, allocations: 76.72 kB / 0.7086 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1647, allocations: 4 kB / 0.7086 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003085/0.165, allocations: 105.6 kB / 0.7087 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.165, allocations: 7.938 kB / 0.7087 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.165, allocations: 3.938 kB / 0.7087 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.165, allocations: 0 / 0.7087 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1652, allocations: 15.98 kB / 0.7087 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1652, allocations: 4 kB / 0.7087 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.1653, allocations: 19.97 kB / 0.7088 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1653, allocations: 0 / 0.7088 GB, free: 14.77 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.387e-05/0.1654, allocations: 113.8 kB / 0.7089 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1654, allocations: 8 kB / 0.7089 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.1658, allocations: 121.4 kB / 0.709 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1658, allocations: 0 / 0.709 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1658, allocations: 0 / 0.709 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1658, allocations: 4 kB / 0.709 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.166, allocations: 177.6 kB / 0.7092 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.166, allocations: 0 / 0.7092 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.1661, allocations: 11.98 kB / 0.7092 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.1661, allocations: 8 kB / 0.7092 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1661, allocations: 0 / 0.7092 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1661, allocations: 4 kB / 0.7092 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1661, allocations: 0 / 0.7092 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.1665, allocations: 207.7 kB / 0.7094 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.1666, allocations: 81.06 kB / 0.7095 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1666, allocations: 4 kB / 0.7095 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1667, allocations: 19.97 kB / 0.7095 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1667, allocations: 4 kB / 0.7095 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1667, allocations: 0 / 0.7095 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.1668, allocations: 91.27 kB / 0.7096 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1668, allocations: 0 / 0.7096 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002682/0.1671, allocations: 15.94 kB / 0.7096 GB, free: 13.81 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.0008775/0.1679, allocations: 0.7358 MB / 0.7103 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.1683, allocations: 79.84 kB / 0.7104 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1683, allocations: 4 kB / 0.7104 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1684, allocations: 35.91 kB / 0.7104 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1687, allocations: 11.98 kB / 0.7104 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.1715, allocations: 1.428 MB / 0.7118 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1719, allocations: 0.6924 MB / 0.7125 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.701e-05/0.1719, allocations: 7.938 kB / 0.7125 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.172, allocations: 19.42 kB / 0.7125 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.172, allocations: 0 / 0.7125 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1987, allocations: 1.847 MB / 0.7143 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.147, allocations: 14.31 kB / 0.7143 GB, free: 8.898 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.80635332223028] Failed to read output from testmodel.py, exit status != 0: 8.213231280911714 8.226246439 8.063338289 Calling exit ...