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.001543/0.001543, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.001493/0.001493, allocations: 183 kB / 17.34 MB, free: 5.762 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.15 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.8863/0.8863, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 55.34 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.159, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.009165/0.1682, allocations: 6.649 MB / 0.6828 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007304/0.1755, allocations: 3.889 MB / 0.6866 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1766, allocations: 23.94 kB / 0.6866 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007535/0.1774, allocations: 253.5 kB / 0.6868 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1785, allocations: 409 kB / 0.6872 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.1804, allocations: 0.7561 MB / 0.688 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.1827, allocations: 1.897 MB / 0.6898 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000823/0.1835, allocations: 495.8 kB / 0.6903 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1846, allocations: 0.7398 MB / 0.691 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.1857, allocations: 0.8366 MB / 0.6918 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.186, allocations: 191.9 kB / 0.692 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007864/0.1868, allocations: 467.5 kB / 0.6925 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.1872, allocations: 446.5 kB / 0.6929 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.1881, allocations: 0.8121 MB / 0.6937 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.1907, allocations: 2.23 MB / 0.6959 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1907, allocations: 0 / 0.6959 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1907, allocations: 0 / 0.6959 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.1907, allocations: 0 / 0.6959 GB, free: 6.23 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.004036/0.1948, allocations: 2.171 MB / 0.698 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1948, allocations: 8.031 kB / 0.698 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.1953, allocations: 199.8 kB / 0.6982 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.1967, allocations: 0.8951 MB / 0.6991 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/0.1971, allocations: 276.2 kB / 0.6993 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.1972, allocations: 108 kB / 0.6994 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.2001, allocations: 1.376 MB / 0.7008 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2001, allocations: 0 / 0.7008 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.2003, allocations: 44 kB / 0.7008 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2003, allocations: 27.94 kB / 0.7008 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.2033, allocations: 1.25 MB / 0.7021 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007331/0.2106, allocations: 4.497 MB / 0.7064 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.2131, allocations: 1.024 MB / 0.7074 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.2146, allocations: 0.6397 MB / 0.7081 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/0.2153, allocations: 0.5282 MB / 0.7086 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.217, allocations: 0.7117 MB / 0.7093 GB, free: 7.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=115): time 3.748e-06/0.217, allocations: 0 / 0.7093 GB, free: 7.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=115): time 0.0119/0.2289, allocations: 3.407 MB / 0.7126 GB, free: 4.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/0.2291, allocations: 282 kB / 0.7129 GB, free: 3.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.2309, allocations: 1.073 MB / 0.7139 GB, free: 2.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.231, allocations: 45.7 kB / 0.714 GB, free: 2.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.2316, allocations: 0.5917 MB / 0.7145 GB, free: 2.242 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.232, allocations: 396.5 kB / 0.7149 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.2324, allocations: 194.5 kB / 0.7151 GB, free: 1.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2326, allocations: 349.9 kB / 0.7154 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.2339, allocations: 0.5059 MB / 0.7159 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.2354, allocations: 0.6576 MB / 0.7166 GB, free: 100 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.2384, allocations: 1.52 MB / 0.7181 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2384, allocations: 0 / 0.7181 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006332/0.2448, allocations: 2.142 MB / 0.7202 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.2449, allocations: 207.9 kB / 0.7204 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005972/0.2509, allocations: 2.027 MB / 0.7223 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.2523, allocations: 430.2 kB / 0.7227 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.253, allocations: 147.8 kB / 0.7229 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.2653, allocations: 6.843 MB / 0.7296 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.2668, allocations: 123.3 kB / 0.7297 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.2669, allocations: 47.97 kB / 0.7297 GB, free: 1.922 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.0008871/0.2678, allocations: 0.5122 MB / 0.7302 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.2681, allocations: 143.1 kB / 0.7304 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006466/0.2746, allocations: 2.19 MB / 0.7325 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.2746, allocations: 12 kB / 0.7325 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2746, allocations: 0 / 0.7325 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.2746, allocations: 3.984 kB / 0.7325 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.2767, allocations: 1.337 MB / 0.7338 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006005/0.2827, allocations: 2.014 MB / 0.7358 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.2833, allocations: 115.8 kB / 0.7359 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.2846, allocations: 426.4 kB / 0.7363 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/0.2848, allocations: 39.91 kB / 0.7363 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.2972, allocations: 6.839 MB / 0.743 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2972, allocations: 480 / 0.743 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/0.3042, allocations: 2.208 MB / 0.7452 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.3049, allocations: 375.7 kB / 0.7455 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.3051, allocations: 24 kB / 0.7456 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008569/0.306, allocations: 51.94 kB / 0.7456 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/0.3064, allocations: 124.7 kB / 0.7457 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.3065, allocations: 43.97 kB / 0.7458 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001134/0.3076, allocations: 0.7425 MB / 0.7465 GB, free: 24 kB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3076, allocations: 0 / 0.7465 GB, free: 24 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.3219/0.6295, allocations: 407.1 kB / 0.7469 GB, free: 67.48 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.001799/0.6313, allocations: 0.5269 MB / 0.7474 GB, free: 67.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004232/0.6355, allocations: 2.17 MB / 0.7495 GB, free: 66.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6355, allocations: 2.781 kB / 0.7495 GB, free: 66.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.638, allocations: 1.498 MB / 0.751 GB, free: 65.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.6389, allocations: 170.1 kB / 0.7511 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.6437, allocations: 2.703 MB / 0.7538 GB, free: 64.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/0.6446, allocations: 1.208 MB / 0.755 GB, free: 64.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.645, allocations: 86.77 kB / 0.7551 GB, free: 64.14 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/0.645, allocations: 1.625 kB / 0.7551 GB, free: 64.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.04019/0.6852, allocations: 35.2 MB / 0.7894 GB, free: 45.19 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)