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.001267/0.001267, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00143/0.00143, allocations: 219.2 kB / 23.04 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9129/0.9129, allocations: 145 MB / 458.2 MB, free: 15.5 MB / 366.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.001986/0.001986, allocations: 66.14 kB / 0.6339 GB, free: 7.359 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 87.89 MB / 0.7197 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003954/0.1674, allocations: 2.605 MB / 0.7223 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1686, allocations: 0.7128 MB / 0.723 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1687, allocations: 11.94 kB / 0.723 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1689, allocations: 55.39 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.169, allocations: 67.3 kB / 0.7231 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1693, allocations: 115.8 kB / 0.7232 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.1697, allocations: 326.6 kB / 0.7235 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1699, allocations: 125.7 kB / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.1702, allocations: 135.5 kB / 0.7238 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1704, allocations: 127.3 kB / 0.7239 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.1704, allocations: 28 kB / 0.7239 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.1705, allocations: 32 kB / 0.7239 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1705, allocations: 63.77 kB / 0.724 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1707, allocations: 147.2 kB / 0.7241 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.1711, allocations: 354.5 kB / 0.7245 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1711, allocations: 0 / 0.7245 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1711, allocations: 3.938 kB / 0.7245 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.1711, allocations: 0 / 0.7245 GB, free: 10.57 MB / 0.545 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.0008324/0.1719, allocations: 0.509 MB / 0.725 GB, free: 10.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.172, allocations: 8.031 kB / 0.725 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.569e-05/0.172, allocations: 8.688 kB / 0.725 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.1721, allocations: 58.73 kB / 0.725 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.1723, allocations: 52.67 kB / 0.7251 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1727, allocations: 227.1 kB / 0.7253 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.1728, allocations: 20.88 kB / 0.7253 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.1728, allocations: 24.38 kB / 0.7254 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.1733, allocations: 216 kB / 0.7256 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1733, allocations: 0 / 0.7256 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1733, allocations: 16 kB / 0.7256 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1733, allocations: 8 kB / 0.7256 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.1737, allocations: 161.9 kB / 0.7257 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.175, allocations: 0.8447 MB / 0.7266 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.1754, allocations: 110.8 kB / 0.7267 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1756, allocations: 52.83 kB / 0.7267 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1756, allocations: 8.125 kB / 0.7267 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1756, allocations: 30.56 kB / 0.7268 GB, free: 8.059 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1756, allocations: 0 / 0.7268 GB, free: 8.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005489/0.1762, allocations: 177.3 kB / 0.7269 GB, free: 7.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1763, allocations: 63.34 kB / 0.727 GB, free: 7.805 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.1766, allocations: 280.6 kB / 0.7273 GB, free: 7.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1766, allocations: 25.7 kB / 0.7273 GB, free: 7.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1768, allocations: 176.2 kB / 0.7274 GB, free: 7.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1768, allocations: 35.72 kB / 0.7275 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.1769, allocations: 29.67 kB / 0.7275 GB, free: 7.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1771, allocations: 334.8 kB / 0.7278 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1772, allocations: 39.97 kB / 0.7279 GB, free: 6.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1773, allocations: 39.92 kB / 0.7279 GB, free: 6.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1775, allocations: 84.83 kB / 0.728 GB, free: 6.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1775, allocations: 0 / 0.728 GB, free: 6.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003047/0.1778, allocations: 141.5 kB / 0.7281 GB, free: 6.605 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1779, allocations: 8 kB / 0.7281 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1779, allocations: 0 / 0.7281 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1779, allocations: 0 / 0.7281 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1781, allocations: 23.98 kB / 0.7282 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1781, allocations: 7.875 kB / 0.7282 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1782, allocations: 23.81 kB / 0.7282 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1782, allocations: 7.984 kB / 0.7282 GB, free: 6.535 MB / 0.545 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.0001634/0.1784, allocations: 141.8 kB / 0.7283 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.1784, allocations: 31.8 kB / 0.7284 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.1785, allocations: 21.84 kB / 0.7284 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1785, allocations: 7.984 kB / 0.7284 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1785, allocations: 3.938 kB / 0.7284 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1785, allocations: 0 / 0.7284 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.1789, allocations: 252.6 kB / 0.7286 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1789, allocations: 0 / 0.7286 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.179, allocations: 19.98 kB / 0.7286 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.179, allocations: 4 kB / 0.7287 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.179, allocations: 4 kB / 0.7287 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.179, allocations: 4 kB / 0.7287 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1791, allocations: 3.938 kB / 0.7287 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1794, allocations: 239.6 kB / 0.7289 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1795, allocations: 19.84 kB / 0.7289 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.1795, allocations: 4 kB / 0.7289 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1796, allocations: 19.98 kB / 0.7289 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.1797, allocations: 11.92 kB / 0.7289 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1797, allocations: 4 kB / 0.7289 GB, free: 5.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002444/0.18, allocations: 207.1 kB / 0.7291 GB, free: 5.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.18, allocations: 0 / 0.7291 GB, free: 5.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002882/0.1802, allocations: 47.89 kB / 0.7292 GB, free: 5.438 MB / 0.545 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.0006846/0.1809, allocations: 0.775 MB / 0.7299 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1812, allocations: 91.83 kB / 0.73 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1812, allocations: 0 / 0.73 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1813, allocations: 39.98 kB / 0.7301 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1817, allocations: 48.56 kB / 0.7301 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.1846, allocations: 2.229 MB / 0.7323 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.185, allocations: 0.7479 MB / 0.733 GB, free: 1.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.1851, allocations: 29.92 kB / 0.7331 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1852, allocations: 83.41 kB / 0.7331 GB, free: 1.266 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.1852, allocations: 0 / 0.7331 GB, free: 1.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.2117, allocations: 4.776 MB / 0.7378 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.61, allocations: 10.5 kB / 0.7378 GB, free: 12.67 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.615880624041893] Failed to read output from testmodel.py, exit status != 0: 11.776489903975744 12.090594455 11.62563622 Calling exit ...