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: translateModel(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample") translateModel(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 191.8 kB / 16.14 MB, free: 6.688 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.625 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 1.022/1.022, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1653, allocations: 82.03 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.007634/0.1729, allocations: 6.58 MB / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2951/0.4681, allocations: 3.911 MB / 0.6038 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.4699, allocations: 24.16 kB / 0.6039 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007366/0.4706, allocations: 179.8 kB / 0.604 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009471/0.4716, allocations: 340.1 kB / 0.6044 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.4733, allocations: 0.6614 MB / 0.605 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.4748, allocations: 1.732 MB / 0.6067 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007695/0.4756, allocations: 0.6279 MB / 0.6073 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.4763, allocations: 0.646 MB / 0.6079 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007461/0.477, allocations: 0.7827 MB / 0.6087 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.4772, allocations: 95.66 kB / 0.6088 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.4779, allocations: 368 kB / 0.6091 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.4782, allocations: 370.5 kB / 0.6095 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005463/0.4787, allocations: 0.7288 MB / 0.6102 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.4802, allocations: 2.104 MB / 0.6123 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4802, allocations: 0 / 0.6123 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.72e-07/0.4802, allocations: 0 / 0.6123 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.4802, allocations: 0 / 0.6123 GB, free: 35.66 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.003299/0.4835, allocations: 2.129 MB / 0.6143 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.4836, allocations: 8.125 kB / 0.6144 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.4839, allocations: 187.5 kB / 0.6145 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.485, allocations: 0.8731 MB / 0.6154 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.4852, allocations: 274 kB / 0.6156 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.4853, allocations: 114.5 kB / 0.6158 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.4877, allocations: 1.377 MB / 0.6171 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4878, allocations: 2.5 kB / 0.6171 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.4879, allocations: 42.88 kB / 0.6171 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.4879, allocations: 27.03 kB / 0.6172 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.4904, allocations: 1.247 MB / 0.6184 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006029/0.4965, allocations: 4.531 MB / 0.6228 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.4986, allocations: 1.159 MB / 0.6239 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.4999, allocations: 0.7459 MB / 0.6247 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.5004, allocations: 0.5188 MB / 0.6252 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.5019, allocations: 0.7182 MB / 0.6259 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.637e-06/0.5019, allocations: 0 / 0.6259 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.01029/0.5122, allocations: 3.404 MB / 0.6292 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.5123, allocations: 282.1 kB / 0.6295 GB, free: 26.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.5138, allocations: 1.065 MB / 0.6305 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/0.5139, allocations: 46.52 kB / 0.6306 GB, free: 25.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.5143, allocations: 0.5838 MB / 0.6311 GB, free: 25.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.5146, allocations: 379.8 kB / 0.6315 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.5149, allocations: 190.4 kB / 0.6317 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.515, allocations: 344.3 kB / 0.632 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.5161, allocations: 0.5145 MB / 0.6325 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.5174, allocations: 0.6597 MB / 0.6331 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.5197, allocations: 1.509 MB / 0.6346 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5197, allocations: 0 / 0.6346 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005601/0.5254, allocations: 2.143 MB / 0.6367 GB, free: 22.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.5255, allocations: 212.9 kB / 0.6369 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005831/0.5313, allocations: 2.033 MB / 0.6389 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.5327, allocations: 431.4 kB / 0.6393 GB, free: 21.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.5335, allocations: 149.9 kB / 0.6395 GB, free: 21.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.5437, allocations: 6.233 MB / 0.6455 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.5455, allocations: 128.5 kB / 0.6457 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.5459, allocations: 46.7 kB / 0.6457 GB, free: 16.3 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.001373/0.5472, allocations: 0.5099 MB / 0.6462 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/0.5479, allocations: 138.1 kB / 0.6463 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00683/0.5547, allocations: 2.226 MB / 0.6485 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.5548, allocations: 9.719 kB / 0.6485 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.5548, allocations: 8.875 kB / 0.6485 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.5548, allocations: 5.969 kB / 0.6485 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.5575, allocations: 1.344 MB / 0.6498 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006071/0.5635, allocations: 2.017 MB / 0.6518 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.5642, allocations: 110 kB / 0.6519 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.5654, allocations: 431.4 kB / 0.6523 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/0.5656, allocations: 38.41 kB / 0.6524 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.5759, allocations: 6.212 MB / 0.6584 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5759, allocations: 0 / 0.6584 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007603/0.5835, allocations: 2.21 MB / 0.6606 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008867/0.5844, allocations: 363.9 kB / 0.6609 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/0.5848, allocations: 24.97 kB / 0.661 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.586, allocations: 70.83 kB / 0.661 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000496/0.5865, allocations: 108.9 kB / 0.6611 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.5867, allocations: 43.38 kB / 0.6612 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001662/0.5884, allocations: 0.7385 MB / 0.6619 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5884, allocations: 1.531 kB / 0.6619 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001918/0.5903, allocations: 414.3 kB / 0.6623 GB, free: 6.832 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.001475/0.5918, allocations: 0.532 MB / 0.6628 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004721/0.5966, allocations: 2.317 MB / 0.6651 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5966, allocations: 1.188 kB / 0.6651 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002849/0.5994, allocations: 1.635 MB / 0.6667 GB, free: 20.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.6009, allocations: 162.4 kB / 0.6668 GB, free: 20.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/0.6069, allocations: 3.182 MB / 0.6699 GB, free: 18.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.6082, allocations: 1.205 MB / 0.6711 GB, free: 17.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001044/0.6093, allocations: 198.3 kB / 0.6713 GB, free: 17.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.6097, allocations: 78.45 kB / 0.6714 GB, free: 17.41 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.6097, allocations: 3.938 kB / 0.6714 GB, free: 17.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.04099/0.6507, allocations: 20.13 MB / 0.691 GB, free: 5.934 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.makefile (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 & ./BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)