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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001819/0.001819, allocations: 102.2 kB / 16.27 MB, free: 5.988 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.002045/0.002045, allocations: 188.4 kB / 17.2 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9267/0.9267, allocations: 143.3 MB / 434.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 67.89 kB / 0.5151 GB, free: 15.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3977, allocations: 82.03 MB / 0.5952 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006379/0.4041, allocations: 6.62 MB / 0.6016 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.4091, allocations: 3.868 MB / 0.6054 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007422/0.4099, allocations: 29.03 kB / 0.6054 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.4105, allocations: 237.6 kB / 0.6057 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007872/0.4113, allocations: 398.2 kB / 0.606 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.4126, allocations: 0.7573 MB / 0.6068 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.414, allocations: 1.952 MB / 0.6087 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.4147, allocations: 0.6832 MB / 0.6094 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.4153, allocations: 0.7295 MB / 0.6101 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008/0.4161, allocations: 0.8405 MB / 0.6109 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002905/0.4164, allocations: 184 kB / 0.6111 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.4172, allocations: 468.8 kB / 0.6115 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.4177, allocations: 450.5 kB / 0.6119 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008326/0.4185, allocations: 0.8131 MB / 0.6127 GB, free: 14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.421, allocations: 2.181 MB / 0.6149 GB, free: 11.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.421, allocations: 0 / 0.6149 GB, free: 11.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4211, allocations: 1.312 kB / 0.6149 GB, free: 11.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.4211, allocations: 0 / 0.6149 GB, free: 11.82 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.004105/0.4252, allocations: 2.125 MB / 0.6169 GB, free: 9.609 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4252, allocations: 11.97 kB / 0.617 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.4257, allocations: 187.3 kB / 0.6171 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.427, allocations: 0.8794 MB / 0.618 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.4273, allocations: 276.9 kB / 0.6183 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.4275, allocations: 104 kB / 0.6184 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.4303, allocations: 1.381 MB / 0.6197 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4304, allocations: 0 / 0.6197 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.4305, allocations: 48.5 kB / 0.6198 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.4305, allocations: 24.59 kB / 0.6198 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003012/0.4336, allocations: 1.25 MB / 0.621 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006987/0.4406, allocations: 4.546 MB / 0.6254 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.4431, allocations: 1.154 MB / 0.6266 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.4448, allocations: 0.7417 MB / 0.6273 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007041/0.4455, allocations: 0.527 MB / 0.6278 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.4471, allocations: 0.7117 MB / 0.6285 GB, free: 13.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 2.995e-06/0.4471, allocations: 7.938 kB / 0.6285 GB, free: 13.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.01178/0.4589, allocations: 3.404 MB / 0.6318 GB, free: 9.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/0.4592, allocations: 282 kB / 0.6321 GB, free: 9.398 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.4609, allocations: 1.066 MB / 0.6331 GB, free: 8.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.4611, allocations: 49.7 kB / 0.6332 GB, free: 8.262 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006208/0.4617, allocations: 0.5829 MB / 0.6338 GB, free: 7.672 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000434/0.4621, allocations: 374.5 kB / 0.6341 GB, free: 7.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.4625, allocations: 194.6 kB / 0.6343 GB, free: 7.105 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4627, allocations: 345.9 kB / 0.6346 GB, free: 6.762 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.4641, allocations: 0.5098 MB / 0.6351 GB, free: 6.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.4656, allocations: 0.6576 MB / 0.6358 GB, free: 5.551 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.4687, allocations: 1.505 MB / 0.6372 GB, free: 3.926 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4687, allocations: 4 kB / 0.6372 GB, free: 3.922 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006475/0.4752, allocations: 2.141 MB / 0.6393 GB, free: 1.719 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.4754, allocations: 211.9 kB / 0.6395 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006016/0.4814, allocations: 2.036 MB / 0.6415 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.4828, allocations: 434.1 kB / 0.6419 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.4835, allocations: 143.8 kB / 0.6421 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.4961, allocations: 6.862 MB / 0.6488 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4975, allocations: 115.5 kB / 0.6489 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.4976, allocations: 47.97 kB / 0.6489 GB, free: 7.355 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.0008221/0.4984, allocations: 0.5121 MB / 0.6494 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.4987, allocations: 134.4 kB / 0.6496 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006449/0.5052, allocations: 2.207 MB / 0.6517 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.5052, allocations: 8 kB / 0.6517 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5052, allocations: 4 kB / 0.6517 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.5052, allocations: 7.969 kB / 0.6517 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.5071, allocations: 1.344 MB / 0.653 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006011/0.5131, allocations: 2.021 MB / 0.655 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.5137, allocations: 111.9 kB / 0.6551 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.5149, allocations: 430.2 kB / 0.6555 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5151, allocations: 35.97 kB / 0.6556 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.5275, allocations: 6.839 MB / 0.6623 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5276, allocations: 0 / 0.6623 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006706/0.5343, allocations: 2.204 MB / 0.6644 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.5349, allocations: 363.1 kB / 0.6647 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.5351, allocations: 28 kB / 0.6648 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/0.536, allocations: 55.94 kB / 0.6648 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/0.5363, allocations: 108.8 kB / 0.6649 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.5364, allocations: 43.97 kB / 0.665 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00107/0.5375, allocations: 0.7425 MB / 0.6657 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5375, allocations: 0 / 0.6657 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001233/0.5388, allocations: 415.2 kB / 0.6661 GB, free: 5.059 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.001814/0.5406, allocations: 0.5374 MB / 0.6666 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005488/0.5461, allocations: 2.467 MB / 0.669 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5461, allocations: 0 / 0.669 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/0.5491, allocations: 1.636 MB / 0.6706 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.5501, allocations: 160.9 kB / 0.6708 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.5553, allocations: 2.688 MB / 0.6734 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009328/0.5562, allocations: 1.21 MB / 0.6746 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.5566, allocations: 91.39 kB / 0.6747 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.5566, allocations: 3.938 kB / 0.6747 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.04554/0.6022, allocations: 35.05 MB / 0.7089 GB, free: 9.148 MB / 0.545 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)