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.0009709/0.000971, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008868/0.0008868, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.223 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.9647/0.9647, allocations: 143.2 MB / 434.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002836, allocations: 8 kB / 0.5158 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 83.41 MB / 0.5972 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006077/0.1434, allocations: 5.692 MB / 0.6028 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2525/0.3959, allocations: 3.652 MB / 0.6064 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.397, allocations: 26.12 kB / 0.6064 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.3976, allocations: 176.4 kB / 0.6066 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009793/0.3986, allocations: 313.1 kB / 0.6069 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.4, allocations: 0.5522 MB / 0.6074 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.4014, allocations: 1.572 MB / 0.6089 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000704/0.4022, allocations: 0.5118 MB / 0.6094 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.4029, allocations: 0.5665 MB / 0.61 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000854/0.4038, allocations: 0.6689 MB / 0.6106 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.4039, allocations: 73.03 kB / 0.6107 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.4045, allocations: 327.2 kB / 0.611 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.4048, allocations: 318.8 kB / 0.6113 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.4051, allocations: 271.7 kB / 0.6116 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.4061, allocations: 1.631 MB / 0.6132 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4061, allocations: 0 / 0.6132 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4061, allocations: 0 / 0.6132 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.4062, allocations: 0 / 0.6132 GB, free: 34.41 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.002643/0.4088, allocations: 1.849 MB / 0.615 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.4089, allocations: 8.125 kB / 0.615 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.4092, allocations: 184.2 kB / 0.6152 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.4102, allocations: 0.8384 MB / 0.616 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.4104, allocations: 271.1 kB / 0.6162 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.4106, allocations: 111.1 kB / 0.6163 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.4128, allocations: 1.366 MB / 0.6177 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.4129, allocations: 6.969 kB / 0.6177 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.413, allocations: 43.25 kB / 0.6177 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.413, allocations: 25.62 kB / 0.6177 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.4153, allocations: 1.245 MB / 0.619 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005035/0.4204, allocations: 4.54 MB / 0.6234 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.4224, allocations: 1.157 MB / 0.6245 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.4237, allocations: 0.7342 MB / 0.6252 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/0.4242, allocations: 0.533 MB / 0.6258 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.4255, allocations: 0.7108 MB / 0.6265 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 2.906e-06/0.4255, allocations: 1.531 kB / 0.6265 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.009526/0.435, allocations: 3.413 MB / 0.6298 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.4351, allocations: 286.1 kB / 0.6301 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4363, allocations: 1.056 MB / 0.6311 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.4364, allocations: 49.58 kB / 0.6311 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.4367, allocations: 0.5848 MB / 0.6317 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.4369, allocations: 368.3 kB / 0.6321 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.437, allocations: 24.72 kB / 0.6321 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.4371, allocations: 343.5 kB / 0.6324 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.4382, allocations: 0.5034 MB / 0.6329 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.4393, allocations: 0.6569 MB / 0.6336 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.4405, allocations: 0.7241 MB / 0.6343 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4405, allocations: 2.688 kB / 0.6343 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004928/0.4454, allocations: 2.134 MB / 0.6363 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.118e-05/0.4455, allocations: 215.5 kB / 0.6365 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004942/0.4504, allocations: 2.039 MB / 0.6385 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.4516, allocations: 431.3 kB / 0.639 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.4522, allocations: 145.6 kB / 0.6391 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008895/0.4612, allocations: 6.234 MB / 0.6452 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/0.4621, allocations: 128.6 kB / 0.6453 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4622, allocations: 47.86 kB / 0.6453 GB, free: 18.22 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,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(2,100.0%) 8} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005611/0.4628, allocations: 0.5071 MB / 0.6458 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.463, allocations: 133.4 kB / 0.646 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/0.4686, allocations: 2.239 MB / 0.6482 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4687, allocations: 10.61 kB / 0.6482 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4687, allocations: 2.375 kB / 0.6482 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4687, allocations: 9.297 kB / 0.6482 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.4702, allocations: 1.342 MB / 0.6495 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005152/0.4753, allocations: 2.019 MB / 0.6515 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.4759, allocations: 113.4 kB / 0.6516 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.477, allocations: 429.9 kB / 0.652 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/0.4771, allocations: 39.12 kB / 0.652 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008926/0.486, allocations: 6.204 MB / 0.6581 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.486, allocations: 5.938 kB / 0.6581 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/0.4917, allocations: 2.198 MB / 0.6602 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.4922, allocations: 377.1 kB / 0.6606 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.4924, allocations: 24.09 kB / 0.6606 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008256/0.4933, allocations: 74.16 kB / 0.6607 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.4936, allocations: 111.8 kB / 0.6608 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.4937, allocations: 42.77 kB / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009755/0.4947, allocations: 0.7374 MB / 0.6615 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4947, allocations: 0 / 0.6615 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001256/0.4959, allocations: 416.8 kB / 0.6619 GB, free: 8.754 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.4971, allocations: 0.5369 MB / 0.6625 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003718/0.5008, allocations: 2.309 MB / 0.6647 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5008, allocations: 0 / 0.6647 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.5033, allocations: 1.636 MB / 0.6663 GB, free: 22.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/0.5041, allocations: 165.5 kB / 0.6665 GB, free: 21.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.5083, allocations: 3.066 MB / 0.6695 GB, free: 20.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/0.5091, allocations: 1.206 MB / 0.6706 GB, free: 19.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007278/0.5099, allocations: 197.2 kB / 0.6708 GB, free: 19.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.5101, allocations: 82 kB / 0.6709 GB, free: 19.48 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.5102, allocations: 0 / 0.6709 GB, free: 19.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.02882/0.539, allocations: 19.48 MB / 0.6899 GB, free: 9.27 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)