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.001173/0.001173, allocations: 113.1 kB / 16.37 MB, free: 6.344 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.001223/0.001223, allocations: 190 kB / 17.3 MB, free: 5.898 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.8231/0.8231, allocations: 143.1 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 61 kB / 0.5961 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 82.03 MB / 0.6762 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006892/0.1397, allocations: 6.633 MB / 0.6827 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005974/0.1457, allocations: 3.885 MB / 0.6865 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009852/0.1467, allocations: 23.94 kB / 0.6865 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.1474, allocations: 237.6 kB / 0.6867 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009381/0.1483, allocations: 413.1 kB / 0.6871 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.1498, allocations: 0.7483 MB / 0.6879 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.1514, allocations: 1.952 MB / 0.6898 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007695/0.1522, allocations: 0.6871 MB / 0.6904 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.1529, allocations: 0.7359 MB / 0.6912 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008576/0.1537, allocations: 0.8405 MB / 0.692 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.154, allocations: 188 kB / 0.6922 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006448/0.1546, allocations: 467.6 kB / 0.6926 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.155, allocations: 442.5 kB / 0.693 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.1556, allocations: 0.8121 MB / 0.6938 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1574, allocations: 2.216 MB / 0.696 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1574, allocations: 0 / 0.696 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1574, allocations: 0 / 0.696 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.1574, allocations: 0 / 0.696 GB, free: 6.094 MB / 0.5294 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.003283/0.1607, allocations: 2.13 MB / 0.6981 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1607, allocations: 8.031 kB / 0.6981 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.1611, allocations: 182.9 kB / 0.6982 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1622, allocations: 0.8824 MB / 0.6991 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.1625, allocations: 280.2 kB / 0.6994 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.1627, allocations: 112 kB / 0.6995 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.1651, allocations: 1.369 MB / 0.7008 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1651, allocations: 3.938 kB / 0.7008 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.1652, allocations: 48 kB / 0.7009 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.1652, allocations: 27.98 kB / 0.7009 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.1678, allocations: 1.25 MB / 0.7021 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.1737, allocations: 4.48 MB / 0.7065 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.1759, allocations: 1.166 MB / 0.7076 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.1773, allocations: 0.7496 MB / 0.7084 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.1778, allocations: 0.523 MB / 0.7089 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.1792, allocations: 0.7155 MB / 0.7096 GB, free: 7.527 MB / 0.545 GB Notification: Performance of pre-optimization done (n=115): time 2.966e-06/0.1792, allocations: 0 / 0.7096 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=115): time 0.01049/0.1897, allocations: 3.407 MB / 0.7129 GB, free: 4.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.1899, allocations: 290 kB / 0.7132 GB, free: 3.664 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.1913, allocations: 1.073 MB / 0.7142 GB, free: 2.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.1914, allocations: 41.7 kB / 0.7143 GB, free: 2.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.1918, allocations: 0.5907 MB / 0.7148 GB, free: 1.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.1921, allocations: 370.5 kB / 0.7152 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.1924, allocations: 190.6 kB / 0.7154 GB, free: 1.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1925, allocations: 345.9 kB / 0.7157 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.1937, allocations: 0.5137 MB / 0.7162 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.195, allocations: 0.6615 MB / 0.7169 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.1975, allocations: 1.509 MB / 0.7183 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1975, allocations: 7.984 kB / 0.7183 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005528/0.2031, allocations: 2.134 MB / 0.7204 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.895e-05/0.2032, allocations: 211.9 kB / 0.7206 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00529/0.2085, allocations: 2.031 MB / 0.7226 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.2097, allocations: 434.2 kB / 0.723 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.2103, allocations: 139.8 kB / 0.7231 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.2205, allocations: 6.854 MB / 0.7298 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.2217, allocations: 115.1 kB / 0.73 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.2218, allocations: 43.98 kB / 0.73 GB, free: 1.637 MB / 0.5606 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.0007811/0.2226, allocations: 0.5249 MB / 0.7305 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.2229, allocations: 130.4 kB / 0.7306 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/0.2287, allocations: 2.2 MB / 0.7328 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.2288, allocations: 15.94 kB / 0.7328 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2288, allocations: 0 / 0.7328 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2288, allocations: 7.984 kB / 0.7328 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.2303, allocations: 1.333 MB / 0.7341 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005327/0.2356, allocations: 2.021 MB / 0.7361 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.2362, allocations: 111.8 kB / 0.7362 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.2373, allocations: 430.4 kB / 0.7366 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.2374, allocations: 43.95 kB / 0.7366 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.2478, allocations: 6.824 MB / 0.7433 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2478, allocations: 0 / 0.7433 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006468/0.2543, allocations: 2.208 MB / 0.7455 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.255, allocations: 363.1 kB / 0.7458 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.2552, allocations: 27.98 kB / 0.7458 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008403/0.2561, allocations: 55.94 kB / 0.7459 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.2564, allocations: 104.8 kB / 0.746 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.2565, allocations: 47.97 kB / 0.746 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.3323/0.5888, allocations: 0.7435 MB / 0.7468 GB, free: 67.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.01e-07/0.5888, allocations: 0 / 0.7468 GB, free: 67.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002448/0.5913, allocations: 418.6 kB / 0.7472 GB, free: 67.16 MB / 0.5762 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.00129/0.5926, allocations: 0.5204 MB / 0.7477 GB, free: 67.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004361/0.597, allocations: 2.315 MB / 0.7499 GB, free: 66.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.597, allocations: 4.344 kB / 0.7499 GB, free: 66.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.5994, allocations: 1.643 MB / 0.7515 GB, free: 65.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.6004, allocations: 170.9 kB / 0.7517 GB, free: 65.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/0.6052, allocations: 2.657 MB / 0.7543 GB, free: 64.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/0.6062, allocations: 1.209 MB / 0.7555 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.6065, allocations: 87.78 kB / 0.7556 GB, free: 63.72 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6066, allocations: 0 / 0.7556 GB, free: 63.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.0398/0.6464, allocations: 35.06 MB / 0.7898 GB, free: 44.89 MB / 0.5762 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)