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.001357/0.001357, allocations: 105.3 kB / 16.45 MB, free: 6.453 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.001525/0.001525, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.9362/0.9362, allocations: 145 MB / 453.8 MB, free: 0.6836 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.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.003049/0.003049, allocations: 62.44 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1771, allocations: 87.83 MB / 0.7138 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008547/0.1857, allocations: 6.693 MB / 0.7203 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.1923, allocations: 4.025 MB / 0.7242 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.193, allocations: 31.81 kB / 0.7243 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.1937, allocations: 245.6 kB / 0.7245 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1948, allocations: 444.9 kB / 0.7249 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.1966, allocations: 0.7588 MB / 0.7257 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.1991, allocations: 1.916 MB / 0.7275 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008418/0.2, allocations: 499.9 kB / 0.728 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.2011, allocations: 0.7593 MB / 0.7288 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.2023, allocations: 0.8483 MB / 0.7296 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.2026, allocations: 188 kB / 0.7298 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009243/0.2035, allocations: 0.5072 MB / 0.7303 GB, free: 1.883 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004857/0.204, allocations: 442.5 kB / 0.7307 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009218/0.2049, allocations: 0.8198 MB / 0.7315 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.208, allocations: 2.288 MB / 0.7337 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.208, allocations: 0 / 0.7337 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.208, allocations: 0 / 0.7337 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.633e-05/0.208, allocations: 0 / 0.7337 GB, free: 14.33 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.004365/0.2124, allocations: 2.194 MB / 0.7359 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2124, allocations: 12.03 kB / 0.7359 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002449/0.2126, allocations: 173.2 kB / 0.736 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.2131, allocations: 195.8 kB / 0.7362 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.2147, allocations: 0.9067 MB / 0.7371 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.215, allocations: 272.3 kB / 0.7374 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.2151, allocations: 108 kB / 0.7375 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.2182, allocations: 1.384 MB / 0.7388 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.2182, allocations: 0 / 0.7388 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.2184, allocations: 44 kB / 0.7389 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.2184, allocations: 27.98 kB / 0.7389 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.2215, allocations: 1.257 MB / 0.7401 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007396/0.2289, allocations: 4.489 MB / 0.7445 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.2314, allocations: 1.036 MB / 0.7455 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.2331, allocations: 0.6386 MB / 0.7461 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007255/0.2338, allocations: 0.5243 MB / 0.7466 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3742/0.608, allocations: 0.7118 MB / 0.7473 GB, free: 32.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=115): time 4.429e-06/0.608, allocations: 1.031 kB / 0.7473 GB, free: 32.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=115): time 0.01245/0.6205, allocations: 3.399 MB / 0.7507 GB, free: 31.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.6206, allocations: 283.4 kB / 0.7509 GB, free: 31.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.6223, allocations: 1.085 MB / 0.752 GB, free: 31.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002254/0.6225, allocations: 46.7 kB / 0.752 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.623, allocations: 0.5995 MB / 0.7526 GB, free: 30.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.6233, allocations: 395.1 kB / 0.753 GB, free: 30.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.6237, allocations: 189.8 kB / 0.7532 GB, free: 30.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.6238, allocations: 344 kB / 0.7535 GB, free: 30.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.6252, allocations: 0.5105 MB / 0.754 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.6266, allocations: 0.6569 MB / 0.7547 GB, free: 29.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.6293, allocations: 1.504 MB / 0.7561 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6293, allocations: 1.469 kB / 0.7561 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00626/0.6356, allocations: 2.146 MB / 0.7582 GB, free: 27.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.6357, allocations: 208.8 kB / 0.7584 GB, free: 27.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006038/0.6417, allocations: 2.033 MB / 0.7604 GB, free: 26.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.6431, allocations: 428.5 kB / 0.7608 GB, free: 26.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/0.6438, allocations: 143.6 kB / 0.7609 GB, free: 26.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.6545, allocations: 6.853 MB / 0.7676 GB, free: 21.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.6559, allocations: 119.1 kB / 0.7678 GB, free: 21.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.6561, allocations: 59.25 kB / 0.7678 GB, free: 21.14 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.0006661/0.6567, allocations: 0.5064 MB / 0.7683 GB, free: 20.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.657, allocations: 140 kB / 0.7684 GB, free: 20.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006387/0.6634, allocations: 2.185 MB / 0.7706 GB, free: 19.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.6634, allocations: 9.438 kB / 0.7706 GB, free: 19.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.6634, allocations: 5.016 kB / 0.7706 GB, free: 19.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.6634, allocations: 8.531 kB / 0.7706 GB, free: 19.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.6655, allocations: 1.35 MB / 0.7719 GB, free: 19.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005874/0.6714, allocations: 2.016 MB / 0.7739 GB, free: 18.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.6719, allocations: 110.4 kB / 0.774 GB, free: 18.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.6731, allocations: 428.9 kB / 0.7744 GB, free: 18.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.6733, allocations: 32.36 kB / 0.7744 GB, free: 18.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.6836, allocations: 6.843 MB / 0.7811 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6836, allocations: 0 / 0.7811 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/0.6897, allocations: 2.21 MB / 0.7833 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/0.6904, allocations: 374.2 kB / 0.7836 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.6905, allocations: 26.73 kB / 0.7836 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009286/0.6915, allocations: 54.59 kB / 0.7837 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.6918, allocations: 103.2 kB / 0.7838 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/0.6919, allocations: 48.22 kB / 0.7838 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009504/0.6928, allocations: 0.754 MB / 0.7846 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6928, allocations: 0 / 0.7846 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00143/0.6943, allocations: 432 kB / 0.785 GB, free: 10.78 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.008172/0.7024, allocations: 3.238 MB / 0.7882 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004654/0.7071, allocations: 2.176 MB / 0.7903 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7071, allocations: 0 / 0.7903 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.7097, allocations: 1.503 MB / 0.7917 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.7106, allocations: 173.2 kB / 0.7919 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/0.7337, allocations: 11.67 MB / 0.8033 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009446/0.7347, allocations: 1.218 MB / 0.8045 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007691/0.7354, allocations: 198.1 kB / 0.8047 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007979/0.7362, allocations: 0.5149 MB / 0.8052 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/0.7362, allocations: 0 / 0.8052 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08312/0.8194, allocations: 32.31 MB / 0.8367 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.82/21.64, allocations: 7.922 kB / 0.8368 GB, free: 9.902 MB / 0.6075 GB " [Timeout remaining time 638] (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: 27.20598758298729] Failed to read output from testmodel.py, exit status != 0: 21.844994974992005 21.867230721 21.654830143 Calling exit ...