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.001123/0.001123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001176/0.001176, allocations: 198.6 kB / 16.25 MB, free: 6.621 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.009/1.009, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.5137 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.165, allocations: 82.03 MB / 0.5938 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008685/0.1737, allocations: 6.583 MB / 0.6002 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3262/0.5, allocations: 3.792 MB / 0.6039 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.5019, allocations: 26.59 kB / 0.6039 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.5028, allocations: 179.6 kB / 0.6041 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.504, allocations: 341 kB / 0.6044 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.5059, allocations: 0.6712 MB / 0.6051 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001751/0.5077, allocations: 1.955 MB / 0.607 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.5085, allocations: 0.6842 MB / 0.6077 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.5094, allocations: 0.7405 MB / 0.6084 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008499/0.5102, allocations: 0.8438 MB / 0.6092 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.5105, allocations: 186.7 kB / 0.6094 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.5111, allocations: 459.5 kB / 0.6098 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.5114, allocations: 446.5 kB / 0.6102 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005654/0.512, allocations: 0.8164 MB / 0.611 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.5137, allocations: 2.183 MB / 0.6132 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5137, allocations: 0 / 0.6132 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5137, allocations: 0 / 0.6132 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.5137, allocations: 0 / 0.6132 GB, free: 35.06 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.003434/0.5172, allocations: 2.128 MB / 0.6152 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5172, allocations: 15.53 kB / 0.6153 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.5176, allocations: 187 kB / 0.6154 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5186, allocations: 0.8716 MB / 0.6163 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.5189, allocations: 276.9 kB / 0.6166 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.519, allocations: 109.5 kB / 0.6167 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.5214, allocations: 1.375 MB / 0.618 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.5215, allocations: 0 / 0.618 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.5216, allocations: 43.94 kB / 0.618 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.5216, allocations: 28.22 kB / 0.6181 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.5241, allocations: 1.251 MB / 0.6193 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.5297, allocations: 4.531 MB / 0.6237 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.5318, allocations: 1.164 MB / 0.6249 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.5331, allocations: 0.741 MB / 0.6256 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005244/0.5336, allocations: 0.52 MB / 0.6261 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/0.535, allocations: 0.7156 MB / 0.6268 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.156e-06/0.535, allocations: 0 / 0.6268 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.01066/0.5457, allocations: 3.404 MB / 0.6301 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5458, allocations: 282.4 kB / 0.6304 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.5477, allocations: 1.07 MB / 0.6314 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5478, allocations: 45.58 kB / 0.6315 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.5483, allocations: 0.5841 MB / 0.632 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.5486, allocations: 378.2 kB / 0.6324 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.5489, allocations: 189.4 kB / 0.6326 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.549, allocations: 346.5 kB / 0.6329 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.5502, allocations: 0.51 MB / 0.6334 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.5514, allocations: 0.6584 MB / 0.6341 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.5539, allocations: 1.508 MB / 0.6355 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.5539, allocations: 0 / 0.6355 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005972/0.5599, allocations: 2.142 MB / 0.6376 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.56, allocations: 209.6 kB / 0.6378 GB, free: 21.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005691/0.5657, allocations: 2.045 MB / 0.6398 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.5671, allocations: 432.9 kB / 0.6402 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.5678, allocations: 141 kB / 0.6404 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.5782, allocations: 6.847 MB / 0.647 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.58, allocations: 127.5 kB / 0.6472 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/0.5804, allocations: 47.09 kB / 0.6472 GB, free: 15.12 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.001414/0.5818, allocations: 0.5135 MB / 0.6477 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000673/0.5825, allocations: 136.9 kB / 0.6478 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/0.5892, allocations: 2.229 MB / 0.65 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5892, allocations: 11.59 kB / 0.65 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.5893, allocations: 3.797 kB / 0.65 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.5893, allocations: 4.453 kB / 0.65 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.5918, allocations: 1.348 MB / 0.6514 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005981/0.5978, allocations: 2.022 MB / 0.6533 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.5984, allocations: 112.5 kB / 0.6534 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.5996, allocations: 432.8 kB / 0.6539 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.5998, allocations: 40.25 kB / 0.6539 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.6106, allocations: 6.831 MB / 0.6606 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6106, allocations: 1.969 kB / 0.6606 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007286/0.6179, allocations: 2.2 MB / 0.6627 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008743/0.6188, allocations: 369 kB / 0.6631 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/0.6192, allocations: 24.7 kB / 0.6631 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.6205, allocations: 62.2 kB / 0.6631 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/0.621, allocations: 117.6 kB / 0.6633 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.6211, allocations: 43.08 kB / 0.6633 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001566/0.6227, allocations: 0.74 MB / 0.664 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6227, allocations: 0 / 0.664 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001929/0.6246, allocations: 423.4 kB / 0.6644 GB, free: 5.145 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.001477/0.6261, allocations: 0.5315 MB / 0.6649 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005719/0.6319, allocations: 2.466 MB / 0.6674 GB, free: 19.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6319, allocations: 1.312 kB / 0.6674 GB, free: 19.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.6348, allocations: 1.638 MB / 0.669 GB, free: 18.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.6363, allocations: 168.2 kB / 0.6691 GB, free: 18.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.6428, allocations: 3.173 MB / 0.6722 GB, free: 16.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.6443, allocations: 1.205 MB / 0.6734 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001237/0.6456, allocations: 196.4 kB / 0.6736 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.6461, allocations: 82.39 kB / 0.6737 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.6461, allocations: 0 / 0.6737 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.04272/0.6888, allocations: 21.06 MB / 0.6942 GB, free: 2.688 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)