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.0008087/0.0008088, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004453/0.004453, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.124/1.124, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.82/0.82, allocations: 143.2 MB / 434.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002522, allocations: 8 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.122, allocations: 83.41 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.005464/0.1275, allocations: 6.076 MB / 0.6038 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2121/0.3396, allocations: 3.862 MB / 0.6075 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006864/0.3403, allocations: 22.53 kB / 0.6076 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.3407, allocations: 184.1 kB / 0.6077 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.3414, allocations: 339.6 kB / 0.6081 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.3423, allocations: 0.6602 MB / 0.6087 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.3433, allocations: 1.728 MB / 0.6104 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006095/0.3439, allocations: 0.623 MB / 0.611 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.3443, allocations: 0.5728 MB / 0.6116 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.3449, allocations: 0.6964 MB / 0.6122 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.345, allocations: 77.62 kB / 0.6123 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.3455, allocations: 342.9 kB / 0.6126 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.3457, allocations: 326.4 kB / 0.6129 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.3461, allocations: 0.7006 MB / 0.6136 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3471, allocations: 2.045 MB / 0.6156 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3471, allocations: 0 / 0.6156 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3472, allocations: 0 / 0.6156 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.3472, allocations: 0 / 0.6156 GB, free: 33.73 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.002397/0.3496, allocations: 1.836 MB / 0.6174 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.3496, allocations: 10.75 kB / 0.6174 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.3499, allocations: 186 kB / 0.6176 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.3508, allocations: 0.8746 MB / 0.6185 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.351, allocations: 281.1 kB / 0.6187 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3511, allocations: 105.4 kB / 0.6188 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.3532, allocations: 1.375 MB / 0.6202 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.3532, allocations: 3.938 kB / 0.6202 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3533, allocations: 46.59 kB / 0.6202 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3534, allocations: 25.97 kB / 0.6202 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3555, allocations: 1.252 MB / 0.6215 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.36, allocations: 4.549 MB / 0.6259 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.3618, allocations: 1.159 MB / 0.627 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.363, allocations: 0.7406 MB / 0.6278 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.3634, allocations: 0.5256 MB / 0.6283 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.3646, allocations: 0.7175 MB / 0.629 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 2.345e-06/0.3646, allocations: 0 / 0.629 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.009147/0.3738, allocations: 3.426 MB / 0.6323 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.3738, allocations: 282.3 kB / 0.6326 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.3748, allocations: 1.07 MB / 0.6336 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.3749, allocations: 45.58 kB / 0.6337 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.3752, allocations: 0.5839 MB / 0.6343 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.3753, allocations: 381.1 kB / 0.6346 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.3755, allocations: 91.89 kB / 0.6347 GB, free: 23.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.3755, allocations: 350.8 kB / 0.635 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.3765, allocations: 0.5074 MB / 0.6355 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.3776, allocations: 0.6553 MB / 0.6362 GB, free: 23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.3797, allocations: 1.507 MB / 0.6376 GB, free: 22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3797, allocations: 2.625 kB / 0.6377 GB, free: 22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004825/0.3845, allocations: 2.153 MB / 0.6398 GB, free: 21.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.3846, allocations: 211 kB / 0.64 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004867/0.3895, allocations: 2.042 MB / 0.642 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.3906, allocations: 432.2 kB / 0.6424 GB, free: 19.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.3911, allocations: 145.2 kB / 0.6425 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008455/0.3996, allocations: 6.239 MB / 0.6486 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009384/0.4006, allocations: 133.4 kB / 0.6487 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.691e-05/0.4007, allocations: 48.2 kB / 0.6488 GB, free: 14.99 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.000561/0.4012, allocations: 0.5052 MB / 0.6493 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.4014, allocations: 138.4 kB / 0.6494 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005425/0.4068, allocations: 2.237 MB / 0.6516 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4069, allocations: 10.62 kB / 0.6516 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4069, allocations: 3.547 kB / 0.6516 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4069, allocations: 4.688 kB / 0.6516 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4082, allocations: 1.352 MB / 0.6529 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005049/0.4133, allocations: 2.015 MB / 0.6549 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.4138, allocations: 118.4 kB / 0.655 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4148, allocations: 434.8 kB / 0.6554 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.4149, allocations: 39.36 kB / 0.6554 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008376/0.4233, allocations: 6.226 MB / 0.6615 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4233, allocations: 0 / 0.6615 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/0.4285, allocations: 2.21 MB / 0.6637 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.4289, allocations: 370 kB / 0.664 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.4291, allocations: 27.36 kB / 0.6641 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.4299, allocations: 68.39 kB / 0.6641 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.4301, allocations: 113.8 kB / 0.6642 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.4302, allocations: 44.33 kB / 0.6643 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008132/0.431, allocations: 0.7428 MB / 0.665 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.431, allocations: 0 / 0.665 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001026/0.4321, allocations: 424.2 kB / 0.6654 GB, free: 5.496 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.001021/0.4331, allocations: 0.5298 MB / 0.6659 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003443/0.4365, allocations: 2.314 MB / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4366, allocations: 1.25 kB / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.4388, allocations: 1.637 MB / 0.6698 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.4396, allocations: 173.2 kB / 0.67 GB, free: 18.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.4433, allocations: 3.197 MB / 0.6731 GB, free: 16.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.444, allocations: 1.202 MB / 0.6742 GB, free: 16.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006246/0.4447, allocations: 199.4 kB / 0.6744 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.4449, allocations: 74.69 kB / 0.6745 GB, free: 16.08 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.4449, allocations: 0 / 0.6745 GB, free: 16.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.02674/0.4717, allocations: 19.94 MB / 0.694 GB, free: 4.508 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)