Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002485/0.002485, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.9642/0.9642, allocations: 144.9 MB / 454.5 MB, free: 10.36 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.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 69.89 kB / 0.6287 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1559, allocations: 87.83 MB / 0.7144 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004994/0.1609, allocations: 2.596 MB / 0.717 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1629, allocations: 0.7092 MB / 0.7177 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.1633, allocations: 7.938 kB / 0.7177 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.1636, allocations: 51.39 kB / 0.7177 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1639, allocations: 75.33 kB / 0.7178 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.1643, allocations: 103.8 kB / 0.7179 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.1648, allocations: 334.6 kB / 0.7182 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.1652, allocations: 125.1 kB / 0.7183 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.1655, allocations: 139.5 kB / 0.7185 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.1658, allocations: 127.4 kB / 0.7186 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.1658, allocations: 28 kB / 0.7186 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.499e-05/0.1659, allocations: 32 kB / 0.7186 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.166, allocations: 59.77 kB / 0.7187 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.1662, allocations: 147.2 kB / 0.7188 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.1667, allocations: 354.5 kB / 0.7192 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1667, allocations: 0 / 0.7192 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.366e-06/0.1667, allocations: 4 kB / 0.7192 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.1668, allocations: 4 kB / 0.7192 GB, free: 6.902 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009875/0.1677, allocations: 0.5727 MB / 0.7197 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1678, allocations: 12.03 kB / 0.7198 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.422e-05/0.1678, allocations: 4.75 kB / 0.7198 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/0.1679, allocations: 58.73 kB / 0.7198 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.1682, allocations: 60.67 kB / 0.7199 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.1686, allocations: 289.8 kB / 0.7201 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1687, allocations: 20.94 kB / 0.7202 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1687, allocations: 20.38 kB / 0.7202 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.1691, allocations: 220.8 kB / 0.7204 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1691, allocations: 4 kB / 0.7204 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.1692, allocations: 12 kB / 0.7204 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1692, allocations: 4 kB / 0.7204 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.1696, allocations: 166.2 kB / 0.7206 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.1708, allocations: 0.8913 MB / 0.7214 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.1712, allocations: 110.8 kB / 0.7215 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.1714, allocations: 52.83 kB / 0.7216 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1714, allocations: 4.188 kB / 0.7216 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1714, allocations: 34.5 kB / 0.7216 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.1714, allocations: 4 kB / 0.7216 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005142/0.1719, allocations: 173.7 kB / 0.7218 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.172, allocations: 59.44 kB / 0.7219 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.1723, allocations: 283.3 kB / 0.7221 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1723, allocations: 25.7 kB / 0.7222 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1725, allocations: 172.3 kB / 0.7223 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1725, allocations: 39.66 kB / 0.7224 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.1726, allocations: 33.67 kB / 0.7224 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1727, allocations: 330.8 kB / 0.7227 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1728, allocations: 39.97 kB / 0.7227 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1729, allocations: 35.98 kB / 0.7228 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1731, allocations: 84.83 kB / 0.7229 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1732, allocations: 0 / 0.7229 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003107/0.1735, allocations: 145.4 kB / 0.723 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1735, allocations: 8 kB / 0.723 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1735, allocations: 0 / 0.723 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1735, allocations: 0 / 0.723 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1736, allocations: 23.98 kB / 0.723 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1737, allocations: 7.938 kB / 0.723 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1738, allocations: 19.88 kB / 0.7231 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1738, allocations: 4 kB / 0.7231 GB, free: 2.652 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: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001415/0.174, allocations: 141.8 kB / 0.7232 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.174, allocations: 27.81 kB / 0.7232 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.1741, allocations: 25.83 kB / 0.7232 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1741, allocations: 4 kB / 0.7233 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1741, allocations: 3.938 kB / 0.7233 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1741, allocations: 3.984 kB / 0.7233 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.1744, allocations: 281.5 kB / 0.7235 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1744, allocations: 0 / 0.7235 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1746, allocations: 23.98 kB / 0.7235 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1746, allocations: 0 / 0.7235 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1746, allocations: 4 kB / 0.7236 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1746, allocations: 0 / 0.7236 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1746, allocations: 7.938 kB / 0.7236 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.175, allocations: 235.2 kB / 0.7238 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.175, allocations: 104.9 kB / 0.7239 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.1751, allocations: 4 kB / 0.7239 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1752, allocations: 16.08 kB / 0.7239 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.1753, allocations: 15.86 kB / 0.7239 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1753, allocations: 0 / 0.7239 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002105/0.1755, allocations: 202 kB / 0.7241 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1755, allocations: 0 / 0.7241 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003113/0.1758, allocations: 51.89 kB / 0.7242 GB, free: 1.426 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: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006707/0.1765, allocations: 0.7747 MB / 0.7249 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.1768, allocations: 79.97 kB / 0.725 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1768, allocations: 3.938 kB / 0.725 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1769, allocations: 47.97 kB / 0.725 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1773, allocations: 53.05 kB / 0.7251 GB, free: 456 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.1802, allocations: 2.218 MB / 0.7273 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1806, allocations: 0.7596 MB / 0.728 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.1807, allocations: 21.83 kB / 0.728 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1809, allocations: 87.39 kB / 0.7281 GB, free: 13.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.1809, allocations: 0 / 0.7281 GB, free: 13.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.204, allocations: 4.637 MB / 0.7326 GB, free: 8.766 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.645, allocations: 15.98 kB / 0.7326 GB, free: 8.75 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.567099573963787] Failed to read output from testmodel.py, exit status != 0: 8.770446554000955 8.786930843 8.616845125 Calling exit ...