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.001242/0.001242, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001359/0.001359, allocations: 198 kB / 17.3 MB, free: 5.883 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.224/1.224, 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.7813/0.7813, allocations: 143.1 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 0.5156 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2756, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.005568/0.2812, allocations: 6.623 MB / 0.6021 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.286, allocations: 3.872 MB / 0.6059 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.287, allocations: 27.88 kB / 0.6059 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.2876, allocations: 235 kB / 0.6062 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009879/0.2887, allocations: 397.2 kB / 0.6066 GB, free: 5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.2902, allocations: 0.7558 MB / 0.6073 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.2919, allocations: 1.97 MB / 0.6092 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.2927, allocations: 0.6786 MB / 0.6099 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.2935, allocations: 0.732 MB / 0.6106 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.2943, allocations: 0.8424 MB / 0.6114 GB, free: 20 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.2946, allocations: 188 kB / 0.6116 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.2954, allocations: 463.5 kB / 0.612 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.2958, allocations: 450.5 kB / 0.6125 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007472/0.2965, allocations: 0.8167 MB / 0.6133 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.2986, allocations: 2.221 MB / 0.6154 GB, free: 11.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2987, allocations: 1.438 kB / 0.6154 GB, free: 11.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2987, allocations: 0 / 0.6154 GB, free: 11.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.803e-05/0.2987, allocations: 0 / 0.6154 GB, free: 11.89 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.003886/0.3026, allocations: 2.125 MB / 0.6175 GB, free: 9.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3027, allocations: 8.844 kB / 0.6175 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/0.3031, allocations: 186.8 kB / 0.6177 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.3045, allocations: 0.884 MB / 0.6186 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.3048, allocations: 272.2 kB / 0.6188 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.305, allocations: 112.7 kB / 0.6189 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.3075, allocations: 1.373 MB / 0.6203 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3076, allocations: 0 / 0.6203 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3077, allocations: 44.5 kB / 0.6203 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.3077, allocations: 31.98 kB / 0.6203 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.3103, allocations: 1.25 MB / 0.6216 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006646/0.317, allocations: 4.507 MB / 0.626 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.3192, allocations: 1.165 MB / 0.6271 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.3207, allocations: 0.7339 MB / 0.6278 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006181/0.3213, allocations: 0.5282 MB / 0.6283 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.3228, allocations: 0.7194 MB / 0.629 GB, free: 13.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.536e-06/0.3229, allocations: 0 / 0.629 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.01051/0.3334, allocations: 3.399 MB / 0.6324 GB, free: 9.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.3336, allocations: 290 kB / 0.6326 GB, free: 9.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.335, allocations: 1.066 MB / 0.6337 GB, free: 8.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.3352, allocations: 45.7 kB / 0.6337 GB, free: 8.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000428/0.3356, allocations: 0.5868 MB / 0.6343 GB, free: 7.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.336, allocations: 374.5 kB / 0.6346 GB, free: 7.406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/0.3363, allocations: 186.6 kB / 0.6348 GB, free: 7.219 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3365, allocations: 349.9 kB / 0.6352 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3376, allocations: 0.5098 MB / 0.6357 GB, free: 6.359 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3389, allocations: 0.6615 MB / 0.6363 GB, free: 5.656 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.3415, allocations: 1.509 MB / 0.6378 GB, free: 4.027 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3415, allocations: 0 / 0.6378 GB, free: 4.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005785/0.3473, allocations: 2.141 MB / 0.6399 GB, free: 1.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.3475, allocations: 209.8 kB / 0.6401 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005565/0.353, allocations: 2.039 MB / 0.6421 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.3543, allocations: 430.2 kB / 0.6425 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.3551, allocations: 143.7 kB / 0.6426 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.3657, allocations: 6.861 MB / 0.6493 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.367, allocations: 119 kB / 0.6494 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.3673, allocations: 43.98 kB / 0.6495 GB, free: 7.473 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.0008528/0.3682, allocations: 0.5139 MB / 0.65 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.3685, allocations: 134.4 kB / 0.6501 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005856/0.3744, allocations: 2.209 MB / 0.6522 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3744, allocations: 8 kB / 0.6523 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3744, allocations: 4 kB / 0.6523 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3744, allocations: 7.969 kB / 0.6523 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.3762, allocations: 1.34 MB / 0.6536 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005381/0.3816, allocations: 2.01 MB / 0.6555 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.3822, allocations: 115.8 kB / 0.6556 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.3833, allocations: 426.2 kB / 0.6561 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.3834, allocations: 35.97 kB / 0.6561 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.3937, allocations: 6.835 MB / 0.6628 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3938, allocations: 0 / 0.6628 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/0.3997, allocations: 2.204 MB / 0.6649 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.4004, allocations: 371.1 kB / 0.6653 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.4007, allocations: 24.45 kB / 0.6653 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/0.4016, allocations: 55.94 kB / 0.6653 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.4019, allocations: 108.8 kB / 0.6654 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.4021, allocations: 39.97 kB / 0.6655 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001044/0.4031, allocations: 0.7464 MB / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.363e-06/0.4031, allocations: 3.938 kB / 0.6662 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001311/0.4044, allocations: 415.1 kB / 0.6666 GB, free: 5.18 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.001246/0.4057, allocations: 0.5318 MB / 0.6671 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004218/0.4099, allocations: 2.315 MB / 0.6694 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.41, allocations: 0 / 0.6694 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002666/0.4126, allocations: 1.64 MB / 0.671 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.4137, allocations: 162.7 kB / 0.6711 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.4185, allocations: 2.605 MB / 0.6737 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/0.4193, allocations: 1.202 MB / 0.6749 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007122/0.42, allocations: 189.3 kB / 0.675 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.4204, allocations: 79.41 kB / 0.6751 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.4204, allocations: 0 / 0.6751 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.03254/0.4529, allocations: 20.88 MB / 0.6955 GB, free: 7.633 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)