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.001122/0.001122, allocations: 111.3 kB / 15.99 MB, free: 6.348 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.001075/0.001075, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.8399/0.8399, allocations: 143 MB / 433.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4534, allocations: 82.03 MB / 0.5944 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006206/0.4596, allocations: 6.582 MB / 0.6008 GB, free: 9.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.4653, allocations: 3.798 MB / 0.6046 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.4667, allocations: 28.41 kB / 0.6046 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.4674, allocations: 180 kB / 0.6048 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.4685, allocations: 343.2 kB / 0.6051 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.4701, allocations: 0.6653 MB / 0.6057 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.4718, allocations: 1.955 MB / 0.6076 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007591/0.4726, allocations: 0.6847 MB / 0.6083 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007452/0.4733, allocations: 0.7398 MB / 0.609 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.4741, allocations: 0.8535 MB / 0.6099 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.4743, allocations: 184 kB / 0.61 GB, free: 400 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006464/0.475, allocations: 459.6 kB / 0.6105 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.4754, allocations: 446.5 kB / 0.6109 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008572/0.4762, allocations: 0.8252 MB / 0.6117 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.478, allocations: 1.68 MB / 0.6134 GB, free: 12.99 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.478, allocations: 4 kB / 0.6134 GB, free: 12.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4781, allocations: 0 / 0.6134 GB, free: 12.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.4781, allocations: 4.703 kB / 0.6134 GB, free: 12.98 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.003899/0.482, allocations: 2.122 MB / 0.6154 GB, free: 10.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.482, allocations: 12.03 kB / 0.6154 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.4825, allocations: 182.8 kB / 0.6156 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.4838, allocations: 0.8794 MB / 0.6165 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.4841, allocations: 272.8 kB / 0.6167 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.4843, allocations: 108 kB / 0.6168 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.4869, allocations: 1.377 MB / 0.6182 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.487, allocations: 0 / 0.6182 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.4871, allocations: 44.56 kB / 0.6182 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.4871, allocations: 28.97 kB / 0.6183 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.4899, allocations: 1.246 MB / 0.6195 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006692/0.4966, allocations: 4.546 MB / 0.6239 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.4989, allocations: 1.158 MB / 0.625 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.5003, allocations: 0.7459 MB / 0.6258 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.501, allocations: 0.519 MB / 0.6263 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.5025, allocations: 0.7156 MB / 0.627 GB, free: 14.42 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.566e-06/0.5025, allocations: 0 / 0.627 GB, free: 14.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.01127/0.5138, allocations: 3.407 MB / 0.6303 GB, free: 10.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.514, allocations: 286 kB / 0.6306 GB, free: 10.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.5156, allocations: 1.066 MB / 0.6316 GB, free: 9.484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.5158, allocations: 49.69 kB / 0.6317 GB, free: 9.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/0.5163, allocations: 0.5908 MB / 0.6322 GB, free: 8.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.5166, allocations: 370.5 kB / 0.6326 GB, free: 8.465 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.517, allocations: 186.6 kB / 0.6328 GB, free: 8.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5172, allocations: 353.9 kB / 0.6331 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.5184, allocations: 0.5059 MB / 0.6336 GB, free: 7.418 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.5197, allocations: 0.6601 MB / 0.6342 GB, free: 6.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.5224, allocations: 1.509 MB / 0.6357 GB, free: 5.086 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.5224, allocations: 0 / 0.6357 GB, free: 5.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005989/0.5284, allocations: 2.149 MB / 0.6378 GB, free: 2.879 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.5286, allocations: 211.9 kB / 0.638 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005513/0.5341, allocations: 2.036 MB / 0.64 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.5354, allocations: 434.2 kB / 0.6404 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.5361, allocations: 139.8 kB / 0.6406 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.5476, allocations: 6.855 MB / 0.6473 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.5493, allocations: 127.1 kB / 0.6474 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.5495, allocations: 47.97 kB / 0.6474 GB, free: 8.516 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.0009032/0.5504, allocations: 0.5097 MB / 0.6479 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.5507, allocations: 134.4 kB / 0.648 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.5569, allocations: 2.231 MB / 0.6502 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5569, allocations: 12 kB / 0.6502 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5569, allocations: 0 / 0.6502 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.557, allocations: 12.36 kB / 0.6502 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.5589, allocations: 1.344 MB / 0.6516 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005656/0.5646, allocations: 2.017 MB / 0.6535 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.5652, allocations: 111.9 kB / 0.6536 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.5664, allocations: 434.1 kB / 0.654 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.5665, allocations: 35.97 kB / 0.6541 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.5783, allocations: 6.828 MB / 0.6608 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5784, allocations: 0 / 0.6608 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006753/0.5851, allocations: 2.216 MB / 0.6629 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/0.586, allocations: 371 kB / 0.6633 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.5862, allocations: 20 kB / 0.6633 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/0.5872, allocations: 59.94 kB / 0.6633 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/0.5876, allocations: 120.8 kB / 0.6635 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.5878, allocations: 39.97 kB / 0.6635 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001064/0.5888, allocations: 0.7425 MB / 0.6642 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5888, allocations: 0 / 0.6642 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001383/0.5902, allocations: 419.1 kB / 0.6646 GB, free: 6.176 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.001375/0.5916, allocations: 0.5205 MB / 0.6651 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005229/0.5968, allocations: 2.471 MB / 0.6675 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5969, allocations: 0 / 0.6675 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.5996, allocations: 1.632 MB / 0.6691 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.6008, allocations: 175.6 kB / 0.6693 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.6064, allocations: 3.238 MB / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/0.6074, allocations: 1.198 MB / 0.6736 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/0.6078, allocations: 95.33 kB / 0.6737 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of SimCode: time 1.373e-06/0.6078, allocations: 0 / 0.6737 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.04384/0.6517, allocations: 35.05 MB / 0.708 GB, free: 9.789 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)