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.001124/0.001124, allocations: 92.7 kB / 16.02 MB, free: 80 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.001182/0.001182, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.305 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 1.042/1.042, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 8 kB / 0.517 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 83.41 MB / 0.5985 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.00789/0.2105, allocations: 6.072 MB / 0.6044 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3559/0.5665, allocations: 3.865 MB / 0.6082 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.5679, allocations: 26.33 kB / 0.6082 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.5685, allocations: 185.9 kB / 0.6084 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.5697, allocations: 339.3 kB / 0.6087 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.5713, allocations: 0.6535 MB / 0.6094 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.573, allocations: 1.731 MB / 0.6111 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008679/0.5739, allocations: 0.6165 MB / 0.6117 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.5747, allocations: 0.5751 MB / 0.6122 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008259/0.5755, allocations: 0.6981 MB / 0.6129 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.5757, allocations: 68.84 kB / 0.613 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006842/0.5764, allocations: 355.1 kB / 0.6133 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.5767, allocations: 320 kB / 0.6136 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.5774, allocations: 0.7005 MB / 0.6143 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.5786, allocations: 1.621 MB / 0.6159 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5786, allocations: 4 kB / 0.6159 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5786, allocations: 0.5625 kB / 0.6159 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.5787, allocations: 0 / 0.6159 GB, free: 34.12 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.00315/0.5818, allocations: 1.842 MB / 0.6177 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.5819, allocations: 8.5 kB / 0.6177 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.5824, allocations: 181.2 kB / 0.6179 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.5837, allocations: 0.8843 MB / 0.6187 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.584, allocations: 271 kB / 0.619 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.5843, allocations: 112.4 kB / 0.6191 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.587, allocations: 1.373 MB / 0.6204 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.587, allocations: 3.938 kB / 0.6204 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.5872, allocations: 48.53 kB / 0.6205 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.5872, allocations: 23.69 kB / 0.6205 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.59, allocations: 1.251 MB / 0.6217 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005937/0.5959, allocations: 4.542 MB / 0.6262 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.5981, allocations: 1.164 MB / 0.6273 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.5995, allocations: 0.7453 MB / 0.628 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.6, allocations: 0.5241 MB / 0.6285 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.6015, allocations: 0.7168 MB / 0.6292 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.687e-06/0.6015, allocations: 0 / 0.6292 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.01081/0.6123, allocations: 3.434 MB / 0.6326 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6125, allocations: 287 kB / 0.6329 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.6141, allocations: 1.065 MB / 0.6339 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.6143, allocations: 46.45 kB / 0.6339 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.6147, allocations: 0.5852 MB / 0.6345 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.615, allocations: 379.3 kB / 0.6349 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.6151, allocations: 85.81 kB / 0.635 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.6152, allocations: 348.1 kB / 0.6353 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.6164, allocations: 0.5118 MB / 0.6358 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.6177, allocations: 0.6527 MB / 0.6364 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/0.6201, allocations: 1.509 MB / 0.6379 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6201, allocations: 0 / 0.6379 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005871/0.626, allocations: 2.141 MB / 0.64 GB, free: 21.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.6261, allocations: 211.9 kB / 0.6402 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005873/0.632, allocations: 2.047 MB / 0.6422 GB, free: 20.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.6334, allocations: 434.7 kB / 0.6426 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.6342, allocations: 141.9 kB / 0.6427 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.6447, allocations: 6.248 MB / 0.6488 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.6465, allocations: 125.4 kB / 0.649 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.6467, allocations: 48.58 kB / 0.649 GB, free: 15.49 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.0009369/0.6476, allocations: 0.5082 MB / 0.6495 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.6479, allocations: 135 kB / 0.6496 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006684/0.6546, allocations: 2.245 MB / 0.6518 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.6547, allocations: 8.844 kB / 0.6518 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6547, allocations: 4.844 kB / 0.6518 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.6547, allocations: 8.125 kB / 0.6519 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.657, allocations: 1.344 MB / 0.6532 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006171/0.6632, allocations: 2.019 MB / 0.6551 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005749/0.6638, allocations: 113.5 kB / 0.6552 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.6651, allocations: 435.4 kB / 0.6557 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.6653, allocations: 38.81 kB / 0.6557 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.6757, allocations: 6.233 MB / 0.6618 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6758, allocations: 0.5469 kB / 0.6618 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007691/0.6835, allocations: 2.212 MB / 0.6639 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.6846, allocations: 371.9 kB / 0.6643 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.6848, allocations: 20.5 kB / 0.6643 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.6858, allocations: 73.44 kB / 0.6644 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004671/0.6863, allocations: 105.2 kB / 0.6645 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.6864, allocations: 43.61 kB / 0.6645 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001216/0.6876, allocations: 0.7395 MB / 0.6653 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6876, allocations: 0 / 0.6653 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001736/0.6894, allocations: 423.1 kB / 0.6657 GB, free: 6 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.001331/0.6907, allocations: 0.5363 MB / 0.6662 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004616/0.6954, allocations: 2.318 MB / 0.6684 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6954, allocations: 0 / 0.6684 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002828/0.6982, allocations: 1.637 MB / 0.67 GB, free: 19.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6994, allocations: 157 kB / 0.6702 GB, free: 19.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.7052, allocations: 3.257 MB / 0.6734 GB, free: 17.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.7063, allocations: 1.209 MB / 0.6746 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.7068, allocations: 85.91 kB / 0.6746 GB, free: 16.58 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.7068, allocations: 1.281 kB / 0.6746 GB, free: 16.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.05539/0.7622, allocations: 34.85 MB / 0.7087 GB, free: 6.098 MB / 0.5294 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)