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.007522/0.007522, allocations: 97.97 kB / 15.73 MB, free: 6.055 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.001835/0.001835, allocations: 191.2 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.858/0.858, allocations: 143 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.16 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 82.04 MB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.007494/0.1377, allocations: 6.622 MB / 0.6821 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006121/0.1439, allocations: 3.889 MB / 0.6859 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009779/0.1449, allocations: 27.88 kB / 0.6859 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007368/0.1456, allocations: 237.6 kB / 0.6861 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1469, allocations: 409 kB / 0.6865 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.1486, allocations: 0.7589 MB / 0.6873 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002113/0.1507, allocations: 1.952 MB / 0.6892 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009606/0.1517, allocations: 0.6871 MB / 0.6898 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009329/0.1526, allocations: 0.7281 MB / 0.6905 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1538, allocations: 0.8405 MB / 0.6914 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.1542, allocations: 184 kB / 0.6915 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.155, allocations: 471.5 kB / 0.692 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.1554, allocations: 446.5 kB / 0.6924 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007319/0.1561, allocations: 0.816 MB / 0.6932 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.1582, allocations: 2.226 MB / 0.6954 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1583, allocations: 0 / 0.6954 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1583, allocations: 0 / 0.6954 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.411e-05/0.1583, allocations: 0 / 0.6954 GB, free: 5.992 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.003672/0.162, allocations: 2.171 MB / 0.6975 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.162, allocations: 12.03 kB / 0.6975 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.1624, allocations: 191.8 kB / 0.6977 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.1637, allocations: 0.8989 MB / 0.6986 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.164, allocations: 276.2 kB / 0.6988 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.1642, allocations: 108 kB / 0.6989 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.1669, allocations: 1.376 MB / 0.7003 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1669, allocations: 3.938 kB / 0.7003 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.167, allocations: 55.98 kB / 0.7003 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.1671, allocations: 24 kB / 0.7004 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.1699, allocations: 1.25 MB / 0.7016 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006372/0.1763, allocations: 4.489 MB / 0.706 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.1787, allocations: 1.165 MB / 0.7071 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.1803, allocations: 0.7414 MB / 0.7078 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.1809, allocations: 0.5282 MB / 0.7083 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/0.1825, allocations: 0.7194 MB / 0.709 GB, free: 7.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=115): time 3.247e-06/0.1826, allocations: 0 / 0.709 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=115): time 0.01154/0.1941, allocations: 3.411 MB / 0.7124 GB, free: 3.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.1943, allocations: 286 kB / 0.7127 GB, free: 3.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.1958, allocations: 1.07 MB / 0.7137 GB, free: 2.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.1959, allocations: 45.7 kB / 0.7137 GB, free: 2.344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.1963, allocations: 0.5878 MB / 0.7143 GB, free: 1.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.1967, allocations: 396.5 kB / 0.7147 GB, free: 1.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.197, allocations: 194.6 kB / 0.7149 GB, free: 1.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1972, allocations: 345.9 kB / 0.7152 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.1985, allocations: 0.5137 MB / 0.7157 GB, free: 312 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.1999, allocations: 0.6615 MB / 0.7164 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.2027, allocations: 1.512 MB / 0.7178 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2027, allocations: 0 / 0.7178 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006088/0.2088, allocations: 2.142 MB / 0.7199 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.2089, allocations: 211.9 kB / 0.7201 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00586/0.2148, allocations: 2.035 MB / 0.7221 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.2161, allocations: 430.2 kB / 0.7225 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.2168, allocations: 147.7 kB / 0.7227 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.228, allocations: 6.857 MB / 0.7294 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.2292, allocations: 115.2 kB / 0.7295 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.2294, allocations: 48.03 kB / 0.7295 GB, free: 1.414 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.0006983/0.2301, allocations: 0.5172 MB / 0.73 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.2303, allocations: 143.1 kB / 0.7302 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006185/0.2365, allocations: 2.198 MB / 0.7323 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.2366, allocations: 15.88 kB / 0.7323 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.2366, allocations: 7.984 kB / 0.7323 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2366, allocations: 3.984 kB / 0.7323 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.2382, allocations: 1.333 MB / 0.7336 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005807/0.244, allocations: 2.017 MB / 0.7356 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.2446, allocations: 115.8 kB / 0.7357 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.2458, allocations: 422.2 kB / 0.7361 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.2459, allocations: 35.97 kB / 0.7361 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.2571, allocations: 6.844 MB / 0.7428 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2571, allocations: 0 / 0.7428 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/0.2634, allocations: 2.205 MB / 0.745 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.264, allocations: 375.7 kB / 0.7453 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.2642, allocations: 27.98 kB / 0.7454 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009037/0.2651, allocations: 47.95 kB / 0.7454 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.2654, allocations: 112.8 kB / 0.7455 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.2655, allocations: 43.97 kB / 0.7456 GB, free: 268 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.2843/0.5498, allocations: 0.7487 MB / 0.7463 GB, free: 67.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5498, allocations: 0 / 0.7463 GB, free: 67.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001676/0.5515, allocations: 417.7 kB / 0.7467 GB, free: 67.21 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.001247/0.5528, allocations: 0.5199 MB / 0.7472 GB, free: 67.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004379/0.5572, allocations: 2.325 MB / 0.7495 GB, free: 66.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5572, allocations: 2.125 kB / 0.7495 GB, free: 66.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.5598, allocations: 1.646 MB / 0.7511 GB, free: 65.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5609, allocations: 167.6 kB / 0.7512 GB, free: 65.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.5667, allocations: 2.634 MB / 0.7538 GB, free: 64.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009045/0.5676, allocations: 1.205 MB / 0.755 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007963/0.5684, allocations: 198.7 kB / 0.7552 GB, free: 63.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.5687, allocations: 82.28 kB / 0.7553 GB, free: 63.67 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.5687, allocations: 0 / 0.7553 GB, free: 63.67 MB / 0.5762 GB Notification: Performance of Templates: time 0.03357/0.6023, allocations: 21.12 MB / 0.7759 GB, free: 56.86 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)