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.007022/0.007022, allocations: 100.1 kB / 15.87 MB, free: 5.867 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.001552/0.001552, allocations: 191.7 kB / 16.79 MB, free: 5.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.008/1.008, allocations: 143 MB / 433.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.89 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1792, allocations: 82.05 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.007224/0.1865, allocations: 6.572 MB / 0.6007 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3728/0.5593, allocations: 3.915 MB / 0.6045 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.5611, allocations: 21.69 kB / 0.6045 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007664/0.5619, allocations: 187.6 kB / 0.6047 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.563, allocations: 341.4 kB / 0.605 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.5648, allocations: 0.6594 MB / 0.6057 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.5665, allocations: 1.728 MB / 0.6074 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008285/0.5673, allocations: 0.6283 MB / 0.608 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000793/0.5681, allocations: 0.637 MB / 0.6086 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/0.5689, allocations: 0.7839 MB / 0.6094 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.5691, allocations: 100.3 kB / 0.6094 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.5698, allocations: 373.8 kB / 0.6098 GB, free: 36.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.5702, allocations: 366.2 kB / 0.6102 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.5708, allocations: 0.7288 MB / 0.6109 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.572, allocations: 1.662 MB / 0.6125 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.572, allocations: 3.938 kB / 0.6125 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.32e-07/0.572, allocations: 2.781 kB / 0.6125 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.572, allocations: 0 / 0.6125 GB, free: 35.64 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.003586/0.5756, allocations: 2.121 MB / 0.6146 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5756, allocations: 7.969 kB / 0.6146 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.5761, allocations: 189.9 kB / 0.6148 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5772, allocations: 0.879 MB / 0.6156 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.5775, allocations: 270.7 kB / 0.6159 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.5776, allocations: 114 kB / 0.616 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.5801, allocations: 1.373 MB / 0.6173 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.5802, allocations: 2.812 kB / 0.6173 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.5803, allocations: 43.25 kB / 0.6174 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.5803, allocations: 25.88 kB / 0.6174 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.5829, allocations: 1.253 MB / 0.6186 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006057/0.589, allocations: 4.528 MB / 0.623 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.5912, allocations: 1.162 MB / 0.6242 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.5925, allocations: 0.7389 MB / 0.6249 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.5931, allocations: 0.5218 MB / 0.6254 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.5945, allocations: 0.7142 MB / 0.6261 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.347e-06/0.5945, allocations: 0 / 0.6261 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.0106/0.6051, allocations: 3.406 MB / 0.6294 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.6052, allocations: 287 kB / 0.6297 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.6068, allocations: 1.066 MB / 0.6307 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.6069, allocations: 48.92 kB / 0.6308 GB, free: 25.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.6073, allocations: 0.5818 MB / 0.6314 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.6076, allocations: 374.1 kB / 0.6317 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.608, allocations: 192.8 kB / 0.6319 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.6081, allocations: 349.5 kB / 0.6322 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.6092, allocations: 0.5129 MB / 0.6327 GB, free: 24.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.6105, allocations: 0.6512 MB / 0.6334 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.6128, allocations: 1.51 MB / 0.6348 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6128, allocations: 2.5 kB / 0.6348 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005776/0.6186, allocations: 2.138 MB / 0.6369 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.6187, allocations: 209.3 kB / 0.6371 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005651/0.6244, allocations: 2.04 MB / 0.6391 GB, free: 21.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.6257, allocations: 434.3 kB / 0.6395 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.6265, allocations: 148.7 kB / 0.6397 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.6366, allocations: 6.223 MB / 0.6458 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.6383, allocations: 127.1 kB / 0.6459 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003445/0.6387, allocations: 47.73 kB / 0.6459 GB, free: 16.34 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.001164/0.6398, allocations: 0.518 MB / 0.6464 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005427/0.6404, allocations: 137.1 kB / 0.6466 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006631/0.647, allocations: 2.234 MB / 0.6487 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.6471, allocations: 9.656 kB / 0.6488 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.6471, allocations: 7 kB / 0.6488 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.6471, allocations: 6.625 kB / 0.6488 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.6496, allocations: 1.339 MB / 0.6501 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00607/0.6557, allocations: 2.009 MB / 0.652 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.6563, allocations: 113.6 kB / 0.6521 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/0.6576, allocations: 435 kB / 0.6526 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.6578, allocations: 47.44 kB / 0.6526 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.668, allocations: 6.209 MB / 0.6587 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.668, allocations: 0 / 0.6587 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007851/0.6759, allocations: 2.205 MB / 0.6608 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.6769, allocations: 364.6 kB / 0.6612 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/0.6774, allocations: 24.31 kB / 0.6612 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.6787, allocations: 71.16 kB / 0.6613 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004719/0.6792, allocations: 105.8 kB / 0.6614 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.6793, allocations: 42.75 kB / 0.6614 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001663/0.681, allocations: 0.7428 MB / 0.6621 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.681, allocations: 0 / 0.6621 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002045/0.6831, allocations: 417.5 kB / 0.6625 GB, free: 6.887 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.001604/0.6847, allocations: 0.5269 MB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004962/0.6896, allocations: 2.321 MB / 0.6653 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6897, allocations: 0 / 0.6653 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/0.6928, allocations: 1.638 MB / 0.6669 GB, free: 20.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.6943, allocations: 160.8 kB / 0.6671 GB, free: 20.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/0.7011, allocations: 3.242 MB / 0.6702 GB, free: 18.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.7025, allocations: 1.201 MB / 0.6714 GB, free: 17.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.7031, allocations: 91.72 kB / 0.6715 GB, free: 17.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.194e-06/0.7032, allocations: 0 / 0.6715 GB, free: 17.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.05335/0.7565, allocations: 35.04 MB / 0.7057 GB, free: 7.457 MB / 0.5294 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)