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.001283/0.001283, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001446/0.001446, allocations: 220 kB / 22.26 MB, free: 5.125 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.977 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.9314/0.9314, allocations: 145 MB / 457.4 MB, free: 15.48 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",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.002076/0.002076, allocations: 69.45 kB / 0.6331 GB, free: 7.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1758, allocations: 87.88 MB / 0.7189 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004243/0.18, allocations: 2.617 MB / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1814, allocations: 0.7089 MB / 0.7222 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1816, allocations: 7.938 kB / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1818, allocations: 55.39 kB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.182, allocations: 75.34 kB / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1824, allocations: 111.8 kB / 0.7224 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.1828, allocations: 326.6 kB / 0.7227 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.1831, allocations: 129.7 kB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.1834, allocations: 123.6 kB / 0.723 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1836, allocations: 139.3 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.1836, allocations: 28 kB / 0.7231 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1838, allocations: 32 kB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.1839, allocations: 63.77 kB / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.184, allocations: 139.3 kB / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.1845, allocations: 362.4 kB / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1845, allocations: 0 / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1845, allocations: 0 / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.1845, allocations: 0 / 0.7237 GB, free: 10.51 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.001018/0.1855, allocations: 0.509 MB / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1855, allocations: 8.031 kB / 0.7242 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.1856, allocations: 58.73 kB / 0.7243 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1858, allocations: 56.67 kB / 0.7243 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.1862, allocations: 227.1 kB / 0.7245 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1863, allocations: 20.86 kB / 0.7246 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.1863, allocations: 24.38 kB / 0.7246 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.1867, allocations: 224.1 kB / 0.7248 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1867, allocations: 0 / 0.7248 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1867, allocations: 12 kB / 0.7248 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1868, allocations: 4 kB / 0.7248 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.1871, allocations: 161.9 kB / 0.725 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1884, allocations: 0.8408 MB / 0.7258 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.1888, allocations: 110.6 kB / 0.7259 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1889, allocations: 52.91 kB / 0.726 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1889, allocations: 3.984 kB / 0.726 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.189, allocations: 30.56 kB / 0.726 GB, free: 8.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.189, allocations: 4 kB / 0.726 GB, free: 8.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005592/0.1895, allocations: 177.5 kB / 0.7262 GB, free: 7.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1896, allocations: 59.34 kB / 0.7262 GB, free: 7.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.1899, allocations: 288.5 kB / 0.7265 GB, free: 7.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1899, allocations: 25.7 kB / 0.7265 GB, free: 7.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.19, allocations: 172.2 kB / 0.7267 GB, free: 7.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.19, allocations: 35.73 kB / 0.7267 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.1901, allocations: 25.67 kB / 0.7267 GB, free: 7.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1902, allocations: 338.8 kB / 0.7271 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1904, allocations: 39.97 kB / 0.7271 GB, free: 6.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1905, allocations: 39.92 kB / 0.7271 GB, free: 6.785 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1907, allocations: 84.98 kB / 0.7272 GB, free: 6.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1907, allocations: 0 / 0.7272 GB, free: 6.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002835/0.1909, allocations: 145.5 kB / 0.7274 GB, free: 6.551 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.191, allocations: 4 kB / 0.7274 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.191, allocations: 0 / 0.7274 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.191, allocations: 4 kB / 0.7274 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1911, allocations: 19.98 kB / 0.7274 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.1911, allocations: 7.938 kB / 0.7274 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.1913, allocations: 23.81 kB / 0.7274 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.1913, allocations: 0 / 0.7274 GB, free: 6.492 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.0001381/0.1915, allocations: 133.8 kB / 0.7275 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.1915, allocations: 35.73 kB / 0.7276 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.1916, allocations: 25.84 kB / 0.7276 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1916, allocations: 4 kB / 0.7276 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.1916, allocations: 7.922 kB / 0.7276 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1916, allocations: 0 / 0.7276 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.1919, allocations: 268.5 kB / 0.7279 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1919, allocations: 0 / 0.7279 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.192, allocations: 19.98 kB / 0.7279 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.192, allocations: 4 kB / 0.7279 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.192, allocations: 0 / 0.7279 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.192, allocations: 0 / 0.7279 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.192, allocations: 7.922 kB / 0.7279 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1924, allocations: 239.6 kB / 0.7281 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1924, allocations: 23.94 kB / 0.7281 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.1924, allocations: 7.938 kB / 0.7282 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1926, allocations: 11.98 kB / 0.7282 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1927, allocations: 11.92 kB / 0.7282 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1927, allocations: 8 kB / 0.7282 GB, free: 5.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002012/0.1929, allocations: 203.1 kB / 0.7284 GB, free: 5.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1929, allocations: 0 / 0.7284 GB, free: 5.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002668/0.1932, allocations: 43.89 kB / 0.7284 GB, free: 5.387 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.0006966/0.1939, allocations: 0.7786 MB / 0.7292 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.1942, allocations: 83.89 kB / 0.7293 GB, free: 4.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1942, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1943, allocations: 47.92 kB / 0.7293 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1946, allocations: 48.56 kB / 0.7294 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.1975, allocations: 2.22 MB / 0.7315 GB, free: 2.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.1979, allocations: 0.7557 MB / 0.7323 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.1981, allocations: 21.94 kB / 0.7323 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.1982, allocations: 83.41 kB / 0.7324 GB, free: 1.223 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.1982, allocations: 0 / 0.7324 GB, free: 1.223 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.2314, allocations: 4.765 MB / 0.737 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.62, allocations: 3.812 kB / 0.737 GB, free: 12.63 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 sys.exit(0), Time elapsed: 15.391120936023071] Failed to read output from testmodel.py, exit status != 0: 11.718420771183446 11.988783186000001 11.546502896 Calling exit ...