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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8694/0.8694, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 82.05 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.007311/0.136, allocations: 6.623 MB / 0.6009 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2219/0.358, allocations: 3.862 MB / 0.6046 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.359, allocations: 29.03 kB / 0.6046 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.3596, allocations: 235.4 kB / 0.6049 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008483/0.3605, allocations: 407.7 kB / 0.6053 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3618, allocations: 0.754 MB / 0.606 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.3631, allocations: 1.942 MB / 0.6079 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006779/0.3638, allocations: 0.69 MB / 0.6086 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.3645, allocations: 0.7368 MB / 0.6093 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007386/0.3652, allocations: 0.8344 MB / 0.6101 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3654, allocations: 188.2 kB / 0.6103 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.366, allocations: 463.1 kB / 0.6107 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.3663, allocations: 445.1 kB / 0.6111 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004873/0.3668, allocations: 0.8183 MB / 0.6119 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.3681, allocations: 2.175 MB / 0.6141 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3682, allocations: 2.688 kB / 0.6141 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3682, allocations: 0 / 0.6141 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.3682, allocations: 0 / 0.6141 GB, free: 35.12 MB / 0.4981 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.003002/0.3712, allocations: 2.128 MB / 0.6162 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3712, allocations: 7.844 kB / 0.6162 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.3714, allocations: 182.7 kB / 0.6163 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.3717, allocations: 185.5 kB / 0.6165 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009283/0.3727, allocations: 0.8711 MB / 0.6174 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3729, allocations: 273.8 kB / 0.6176 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.373, allocations: 112.8 kB / 0.6177 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.3751, allocations: 1.377 MB / 0.6191 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3751, allocations: 6.781 kB / 0.6191 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3753, allocations: 50.66 kB / 0.6191 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3753, allocations: 25.75 kB / 0.6192 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.3776, allocations: 1.247 MB / 0.6204 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.3825, allocations: 4.53 MB / 0.6248 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3844, allocations: 1.156 MB / 0.6259 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.3856, allocations: 0.7456 MB / 0.6267 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/0.3861, allocations: 0.5273 MB / 0.6272 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.3874, allocations: 0.7141 MB / 0.6279 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 2.785e-06/0.3874, allocations: 0 / 0.6279 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.009802/0.3972, allocations: 3.401 MB / 0.6312 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.3973, allocations: 283.2 kB / 0.6315 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.3984, allocations: 1.068 MB / 0.6325 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.3986, allocations: 44.08 kB / 0.6325 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.3989, allocations: 0.585 MB / 0.6331 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.3991, allocations: 377.9 kB / 0.6335 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.3994, allocations: 191.3 kB / 0.6337 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.3995, allocations: 351.9 kB / 0.634 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.4005, allocations: 0.5126 MB / 0.6345 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4017, allocations: 0.6613 MB / 0.6351 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.404, allocations: 1.511 MB / 0.6366 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.404, allocations: 1.312 kB / 0.6366 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005444/0.4094, allocations: 2.134 MB / 0.6387 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.4095, allocations: 209.8 kB / 0.6389 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005279/0.4148, allocations: 2.042 MB / 0.6409 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.416, allocations: 431.1 kB / 0.6413 GB, free: 20.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.4167, allocations: 149.6 kB / 0.6414 GB, free: 20.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009614/0.4264, allocations: 6.851 MB / 0.6481 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.4277, allocations: 114.2 kB / 0.6482 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.4278, allocations: 48.64 kB / 0.6483 GB, free: 14.88 MB / 0.4981 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.0006091/0.4284, allocations: 0.5099 MB / 0.6488 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.4287, allocations: 134.6 kB / 0.6489 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/0.4343, allocations: 2.197 MB / 0.6511 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.4344, allocations: 11 kB / 0.6511 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4344, allocations: 2.344 kB / 0.6511 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4344, allocations: 13.42 kB / 0.6511 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.436, allocations: 1.348 MB / 0.6524 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005314/0.4413, allocations: 2.018 MB / 0.6544 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.4419, allocations: 117.3 kB / 0.6545 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.443, allocations: 430.9 kB / 0.6549 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.4431, allocations: 38.33 kB / 0.6549 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009607/0.4528, allocations: 6.836 MB / 0.6616 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4528, allocations: 1.031 kB / 0.6616 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/0.4586, allocations: 2.197 MB / 0.6638 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/0.4593, allocations: 364.2 kB / 0.6641 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.4595, allocations: 24.48 kB / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/0.4604, allocations: 58.17 kB / 0.6642 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/0.4607, allocations: 111.9 kB / 0.6643 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.572e-05/0.4608, allocations: 43.55 kB / 0.6643 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009386/0.4618, allocations: 0.7446 MB / 0.6651 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4618, allocations: 0 / 0.6651 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001198/0.463, allocations: 415.8 kB / 0.6655 GB, free: 4.922 MB / 0.4981 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.006764/0.4697, allocations: 3.189 MB / 0.6686 GB, free: 19.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004779/0.4745, allocations: 2.465 MB / 0.671 GB, free: 17.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4746, allocations: 0 / 0.671 GB, free: 17.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/0.4771, allocations: 1.643 MB / 0.6726 GB, free: 16.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.478, allocations: 168.9 kB / 0.6727 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/0.5007, allocations: 12.16 MB / 0.6846 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/0.5015, allocations: 1.204 MB / 0.6858 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008172/0.5023, allocations: 196.8 kB / 0.686 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/0.503, allocations: 0.5099 MB / 0.6865 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.503, allocations: 4 kB / 0.6865 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.5635, allocations: 31.23 MB / 0.717 GB, free: 11.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.72, allocations: 18.45 kB / 0.717 GB, free: 11.36 MB / 0.545 GB (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)