Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.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.001291/0.001291, allocations: 109.2 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.001475/0.001475, allocations: 217.2 kB / 22.25 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.012 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.9449/0.9449, allocations: 145 MB / 457.4 MB, free: 15.57 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.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",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.00211/0.00211, allocations: 72.92 kB / 0.6331 GB, free: 7.414 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1775, allocations: 87.88 MB / 0.719 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.009375/0.1869, allocations: 6.71 MB / 0.7255 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007614/0.1945, allocations: 4.135 MB / 0.7295 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.1956, allocations: 31.81 kB / 0.7296 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.1964, allocations: 241.6 kB / 0.7298 GB, free: 4.383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.1977, allocations: 452.9 kB / 0.7302 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.1997, allocations: 0.7754 MB / 0.731 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002858/0.2025, allocations: 1.916 MB / 0.7329 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009329/0.2035, allocations: 472.2 kB / 0.7333 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.2049, allocations: 0.7595 MB / 0.7341 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.2065, allocations: 0.8521 MB / 0.7349 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.207, allocations: 188 kB / 0.7351 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.2081, allocations: 0.5073 MB / 0.7356 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004782/0.2086, allocations: 450.5 kB / 0.736 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009557/0.2096, allocations: 0.816 MB / 0.7368 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.2126, allocations: 2.288 MB / 0.739 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2126, allocations: 3.938 kB / 0.739 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2126, allocations: 0 / 0.739 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.829e-05/0.2127, allocations: 4 kB / 0.739 GB, free: 10.88 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004586/0.2172, allocations: 2.115 MB / 0.7411 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.2173, allocations: 8.031 kB / 0.7411 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.2175, allocations: 177.2 kB / 0.7413 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.218, allocations: 199.7 kB / 0.7415 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.2197, allocations: 0.8412 MB / 0.7423 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004606/0.2202, allocations: 0.4996 MB / 0.7428 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.2204, allocations: 108 kB / 0.7429 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.2234, allocations: 1.38 MB / 0.7442 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.2234, allocations: 0 / 0.7442 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.2235, allocations: 44 kB / 0.7443 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.2235, allocations: 28 kB / 0.7443 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.2265, allocations: 1.25 MB / 0.7455 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3524/0.5789, allocations: 4.44 MB / 0.7498 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.5815, allocations: 1.022 MB / 0.7508 GB, free: 28.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.583, allocations: 0.6322 MB / 0.7515 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/0.5836, allocations: 78.12 kB / 0.7515 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/0.5853, allocations: 0.7172 MB / 0.7522 GB, free: 28.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=115): time 4.128e-06/0.5853, allocations: 0 / 0.7522 GB, free: 28.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=115): time 0.01224/0.5976, allocations: 3.179 MB / 0.7553 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.5977, allocations: 282.2 kB / 0.7556 GB, free: 28.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.5996, allocations: 1.084 MB / 0.7567 GB, free: 27.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.5999, allocations: 47.67 kB / 0.7567 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.6004, allocations: 0.5914 MB / 0.7573 GB, free: 27.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.6007, allocations: 390.8 kB / 0.7577 GB, free: 27.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.6011, allocations: 195.8 kB / 0.7579 GB, free: 27.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.6012, allocations: 347.8 kB / 0.7582 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.6026, allocations: 0.5108 MB / 0.7587 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.6041, allocations: 0.6626 MB / 0.7593 GB, free: 26.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.607, allocations: 1.513 MB / 0.7608 GB, free: 25.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.607, allocations: 1.75 kB / 0.7608 GB, free: 25.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00658/0.6135, allocations: 2.143 MB / 0.7629 GB, free: 24.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.6137, allocations: 209.5 kB / 0.7631 GB, free: 24.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006259/0.6199, allocations: 2.026 MB / 0.7651 GB, free: 23.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.6213, allocations: 430.4 kB / 0.7655 GB, free: 23.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.6221, allocations: 147.7 kB / 0.7656 GB, free: 23.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.6331, allocations: 6.546 MB / 0.772 GB, free: 18.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.6346, allocations: 123.6 kB / 0.7721 GB, free: 18.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.6348, allocations: 51.78 kB / 0.7722 GB, free: 18.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007934/0.6356, allocations: 0.5027 MB / 0.7727 GB, free: 18.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.6359, allocations: 144.5 kB / 0.7728 GB, free: 18.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006474/0.6423, allocations: 2.193 MB / 0.775 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.6424, allocations: 11.11 kB / 0.775 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.6424, allocations: 2.844 kB / 0.775 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.6424, allocations: 5.344 kB / 0.775 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.6445, allocations: 1.321 MB / 0.7763 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005939/0.6505, allocations: 2.022 MB / 0.7782 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.6511, allocations: 110.2 kB / 0.7784 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.6522, allocations: 425.4 kB / 0.7788 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.6524, allocations: 33.31 kB / 0.7788 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.6629, allocations: 6.519 MB / 0.7852 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6629, allocations: 3.562 kB / 0.7852 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/0.6694, allocations: 2.214 MB / 0.7873 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008575/0.6703, allocations: 297.2 kB / 0.7876 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.6705, allocations: 22.5 kB / 0.7876 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/0.6714, allocations: 55.75 kB / 0.7877 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.6717, allocations: 115.1 kB / 0.7878 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6718, allocations: 39.69 kB / 0.7878 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001178/0.673, allocations: 0.7534 MB / 0.7886 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.673, allocations: 0 / 0.7886 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00232/0.6753, allocations: 444.6 kB / 0.789 GB, free: 8.285 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 1 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008697/0.684, allocations: 3.237 MB / 0.7921 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004741/0.6888, allocations: 2.176 MB / 0.7943 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.6888, allocations: 0 / 0.7943 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.6911, allocations: 1.505 MB / 0.7957 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6923, allocations: 163.8 kB / 0.7959 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/0.7179, allocations: 11.69 MB / 0.8073 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/0.7189, allocations: 1.202 MB / 0.8085 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008784/0.7197, allocations: 202.4 kB / 0.8087 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007911/0.7205, allocations: 0.5187 MB / 0.8092 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.7205, allocations: 0 / 0.8092 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0903/0.8108, allocations: 33.22 MB / 0.8416 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.11/22.92, allocations: 6.172 kB / 0.8416 GB, free: 6.227 MB / 0.6075 GB " [Timeout remaining time 637] (rm -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe >> ../files/BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1800 BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample.fmu > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.559035925998614] Failed to read output from testmodel.py, exit status != 0: 23.139296410998213 23.154921805 22.938844609 Calling exit ...