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.001595/0.001596, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.9654/0.9654, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.91 kB / 0.5142 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 82.04 MB / 0.5943 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008025/0.1658, allocations: 6.619 MB / 0.6007 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2701/0.4359, allocations: 3.863 MB / 0.6045 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.437, allocations: 29.06 kB / 0.6045 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.4376, allocations: 238.5 kB / 0.6048 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008262/0.4385, allocations: 403.8 kB / 0.6051 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.4399, allocations: 0.7523 MB / 0.6059 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.4412, allocations: 1.946 MB / 0.6078 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007137/0.4419, allocations: 0.686 MB / 0.6084 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.4425, allocations: 0.736 MB / 0.6092 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.4432, allocations: 0.8393 MB / 0.61 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.4434, allocations: 186.6 kB / 0.6102 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00058/0.444, allocations: 466 kB / 0.6106 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.4443, allocations: 445 kB / 0.611 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004942/0.4448, allocations: 0.8173 MB / 0.6118 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.4462, allocations: 2.173 MB / 0.614 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4462, allocations: 0 / 0.614 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4462, allocations: 0 / 0.614 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.4462, allocations: 0 / 0.614 GB, free: 34.98 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.003105/0.4493, allocations: 2.127 MB / 0.616 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4494, allocations: 8.562 kB / 0.616 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.4497, allocations: 187.3 kB / 0.6162 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/0.4507, allocations: 0.8787 MB / 0.6171 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.451, allocations: 263.6 kB / 0.6173 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.4511, allocations: 120.1 kB / 0.6174 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.4533, allocations: 1.372 MB / 0.6188 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4534, allocations: 10.97 kB / 0.6188 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4535, allocations: 43.44 kB / 0.6188 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4535, allocations: 26.22 kB / 0.6189 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.456, allocations: 1.253 MB / 0.6201 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.461, allocations: 4.531 MB / 0.6245 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.4631, allocations: 1.154 MB / 0.6256 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.4644, allocations: 0.7463 MB / 0.6264 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/0.465, allocations: 0.519 MB / 0.6269 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.4664, allocations: 0.7198 MB / 0.6276 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 2.746e-06/0.4664, allocations: 0 / 0.6276 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.0102/0.4766, allocations: 3.408 MB / 0.6309 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.4767, allocations: 283.7 kB / 0.6312 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.4779, allocations: 1.064 MB / 0.6322 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.478, allocations: 46.11 kB / 0.6323 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.4784, allocations: 0.5849 MB / 0.6328 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.4786, allocations: 373.9 kB / 0.6332 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.4789, allocations: 189 kB / 0.6334 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.479, allocations: 357.7 kB / 0.6337 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.4801, allocations: 0.5006 MB / 0.6342 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.4813, allocations: 0.6642 MB / 0.6348 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.4836, allocations: 1.51 MB / 0.6363 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4836, allocations: 0 / 0.6363 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005675/0.4893, allocations: 2.144 MB / 0.6384 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.4894, allocations: 213.3 kB / 0.6386 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005463/0.4949, allocations: 2.028 MB / 0.6406 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.4962, allocations: 445 kB / 0.641 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.4968, allocations: 144.5 kB / 0.6412 GB, free: 20.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009932/0.5067, allocations: 6.845 MB / 0.6478 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5081, allocations: 121 kB / 0.648 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.5082, allocations: 49.89 kB / 0.648 GB, free: 14.88 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.0006748/0.5089, allocations: 0.5123 MB / 0.6485 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.5091, allocations: 138.5 kB / 0.6486 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/0.5151, allocations: 2.199 MB / 0.6508 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5152, allocations: 10.16 kB / 0.6508 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5152, allocations: 2.906 kB / 0.6508 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.5152, allocations: 4.594 kB / 0.6508 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.5169, allocations: 1.348 MB / 0.6521 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005741/0.5227, allocations: 2.025 MB / 0.6541 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.5233, allocations: 113.6 kB / 0.6542 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.5244, allocations: 427.9 kB / 0.6546 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.5246, allocations: 33.72 kB / 0.6546 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.535, allocations: 6.833 MB / 0.6613 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.535, allocations: 0 / 0.6613 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/0.5413, allocations: 2.202 MB / 0.6635 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/0.542, allocations: 366.2 kB / 0.6638 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.5422, allocations: 24.03 kB / 0.6638 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.5431, allocations: 58.3 kB / 0.6639 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000335/0.5434, allocations: 112.6 kB / 0.664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.5435, allocations: 51.62 kB / 0.664 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001065/0.5446, allocations: 0.7384 MB / 0.6648 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5446, allocations: 0 / 0.6648 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001573/0.5462, allocations: 417.6 kB / 0.6652 GB, free: 4.922 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.001257/0.5474, allocations: 0.5246 MB / 0.6657 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004834/0.5523, allocations: 2.475 MB / 0.6681 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5523, allocations: 0 / 0.6681 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/0.555, allocations: 1.64 MB / 0.6697 GB, free: 18.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.556, allocations: 174.4 kB / 0.6699 GB, free: 18.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.5608, allocations: 2.628 MB / 0.6724 GB, free: 16.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009304/0.5618, allocations: 1.205 MB / 0.6736 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008131/0.5626, allocations: 200.9 kB / 0.6738 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.5629, allocations: 79 kB / 0.6739 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.5629, allocations: 0 / 0.6739 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.03673/0.5996, allocations: 20.9 MB / 0.6943 GB, free: 2.879 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)