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.001038/0.001039, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001062/0.001062, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.17 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.8753/0.8753, allocations: 143.1 MB / 434.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 56.05 kB / 0.5156 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4613, allocations: 82.05 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006189/0.4675, allocations: 6.62 MB / 0.6022 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.4732, allocations: 3.869 MB / 0.6059 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.4744, allocations: 27.88 kB / 0.606 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.475, allocations: 234.3 kB / 0.6062 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008988/0.4759, allocations: 398 kB / 0.6066 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.4774, allocations: 0.7584 MB / 0.6073 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.4789, allocations: 1.97 MB / 0.6092 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007294/0.4796, allocations: 0.6776 MB / 0.6099 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.4803, allocations: 0.7311 MB / 0.6106 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.4811, allocations: 0.8405 MB / 0.6114 GB, free: 32 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.4814, allocations: 184 kB / 0.6116 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.4821, allocations: 463.5 kB / 0.612 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.4825, allocations: 454.5 kB / 0.6125 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006943/0.4832, allocations: 0.8083 MB / 0.6133 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.4853, allocations: 2.23 MB / 0.6154 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4853, allocations: 0 / 0.6154 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4853, allocations: 0 / 0.6154 GB, free: 11.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.4853, allocations: 0 / 0.6154 GB, free: 11.91 MB / 462.1 MB 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.003702/0.489, allocations: 2.126 MB / 0.6175 GB, free: 9.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4891, allocations: 8.031 kB / 0.6175 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.4895, allocations: 191.7 kB / 0.6177 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.491, allocations: 0.8796 MB / 0.6186 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.4913, allocations: 272.2 kB / 0.6188 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.4914, allocations: 108.9 kB / 0.6189 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.494, allocations: 1.38 MB / 0.6203 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.494, allocations: 0.5 kB / 0.6203 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.4941, allocations: 48.81 kB / 0.6203 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.4942, allocations: 24 kB / 0.6203 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.4967, allocations: 1.25 MB / 0.6216 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006682/0.5034, allocations: 4.507 MB / 0.626 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.5057, allocations: 1.159 MB / 0.6271 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.5071, allocations: 0.7417 MB / 0.6278 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.5078, allocations: 0.527 MB / 0.6283 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.5093, allocations: 0.7117 MB / 0.629 GB, free: 13.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.317e-06/0.5093, allocations: 4 kB / 0.629 GB, free: 13.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.01057/0.5199, allocations: 3.4 MB / 0.6324 GB, free: 9.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.5201, allocations: 282 kB / 0.6326 GB, free: 9.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.5216, allocations: 1.07 MB / 0.6337 GB, free: 8.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/0.5217, allocations: 49.7 kB / 0.6337 GB, free: 8.383 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.5222, allocations: 0.5829 MB / 0.6343 GB, free: 7.793 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.5225, allocations: 374.5 kB / 0.6346 GB, free: 7.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/0.5229, allocations: 190.6 kB / 0.6348 GB, free: 7.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.523, allocations: 345.9 kB / 0.6352 GB, free: 6.887 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.5242, allocations: 0.5098 MB / 0.6357 GB, free: 6.375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.5255, allocations: 0.6576 MB / 0.6363 GB, free: 5.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.528, allocations: 1.509 MB / 0.6378 GB, free: 4.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.528, allocations: 8 kB / 0.6378 GB, free: 4.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0058/0.5338, allocations: 2.141 MB / 0.6399 GB, free: 1.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.534, allocations: 211.9 kB / 0.6401 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005213/0.5392, allocations: 2.039 MB / 0.6421 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.5404, allocations: 426.2 kB / 0.6425 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.5411, allocations: 147.8 kB / 0.6426 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.5518, allocations: 6.85 MB / 0.6493 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.5533, allocations: 119 kB / 0.6494 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5534, allocations: 47.97 kB / 0.6495 GB, free: 7.484 MB / 494.1 MB 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.0007985/0.5542, allocations: 0.5135 MB / 0.65 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.5544, allocations: 134.4 kB / 0.6501 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005677/0.5601, allocations: 2.201 MB / 0.6522 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5601, allocations: 12 kB / 0.6523 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5601, allocations: 4.375 kB / 0.6523 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5602, allocations: 3.984 kB / 0.6523 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.5617, allocations: 1.348 MB / 0.6536 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005275/0.567, allocations: 2.017 MB / 0.6555 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.5675, allocations: 115.8 kB / 0.6557 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.5686, allocations: 430.2 kB / 0.6561 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.5687, allocations: 35.97 kB / 0.6561 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.5792, allocations: 6.83 MB / 0.6628 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5792, allocations: 0 / 0.6628 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.5851, allocations: 2.208 MB / 0.6649 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/0.5858, allocations: 363.1 kB / 0.6653 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.5859, allocations: 20 kB / 0.6653 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009836/0.5869, allocations: 59.94 kB / 0.6654 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/0.5873, allocations: 108.8 kB / 0.6655 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.5874, allocations: 43.97 kB / 0.6655 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001168/0.5886, allocations: 0.7425 MB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5886, allocations: 0 / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001488/0.5901, allocations: 411.2 kB / 0.6666 GB, free: 5.199 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.00126/0.5914, allocations: 0.5451 MB / 0.6671 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004055/0.5954, allocations: 2.315 MB / 0.6694 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5954, allocations: 0 / 0.6694 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.5981, allocations: 1.636 MB / 0.671 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/0.5988, allocations: 164.4 kB / 0.6712 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.6034, allocations: 2.589 MB / 0.6737 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008535/0.6043, allocations: 1.212 MB / 0.6749 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006104/0.6049, allocations: 202.2 kB / 0.6751 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.6052, allocations: 87.33 kB / 0.6751 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.6052, allocations: 0 / 0.6751 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.0314/0.6366, allocations: 20.87 MB / 0.6955 GB, free: 7.637 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)