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.003935/0.003934, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.0009844/0.0009844, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.309 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 0.9165/0.9165, allocations: 143 MB / 433.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.83 kB / 0.5955 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3304, allocations: 82.03 MB / 0.6756 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006676/0.3371, allocations: 6.628 MB / 0.6821 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00535/0.3425, allocations: 3.883 MB / 0.6859 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.3431, allocations: 23.19 kB / 0.6859 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.3436, allocations: 234.5 kB / 0.6861 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007894/0.3444, allocations: 406.7 kB / 0.6865 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3458, allocations: 0.7525 MB / 0.6872 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.3474, allocations: 1.961 MB / 0.6892 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/0.3483, allocations: 0.6757 MB / 0.6898 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.349, allocations: 0.7357 MB / 0.6905 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009311/0.35, allocations: 0.8406 MB / 0.6914 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.3502, allocations: 187.5 kB / 0.6915 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.3509, allocations: 464.2 kB / 0.692 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.3513, allocations: 451 kB / 0.6924 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.3519, allocations: 0.8151 MB / 0.6932 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.3537, allocations: 2.222 MB / 0.6954 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3537, allocations: 0 / 0.6954 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3537, allocations: 0 / 0.6954 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.3537, allocations: 0 / 0.6954 GB, free: 2.152 MB / 0.5137 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.003356/0.3571, allocations: 2.126 MB / 0.6974 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.3571, allocations: 8.031 kB / 0.6975 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.3575, allocations: 182.9 kB / 0.6976 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3587, allocations: 0.8863 MB / 0.6985 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.3589, allocations: 280.1 kB / 0.6988 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.3591, allocations: 112 kB / 0.6989 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.3616, allocations: 1.373 MB / 0.7002 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3617, allocations: 0 / 0.7002 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.3618, allocations: 47.98 kB / 0.7003 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3618, allocations: 31.94 kB / 0.7003 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.3645, allocations: 1.246 MB / 0.7015 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005723/0.3702, allocations: 4.484 MB / 0.7059 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.3724, allocations: 1.169 MB / 0.707 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.3738, allocations: 0.7496 MB / 0.7078 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.3744, allocations: 0.5243 MB / 0.7083 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.3759, allocations: 0.7155 MB / 0.709 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=115): time 5.601e-06/0.3759, allocations: 0 / 0.709 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=115): time 0.01065/0.3866, allocations: 3.403 MB / 0.7123 GB, free: 60 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.3867, allocations: 290 kB / 0.7126 GB, free: 15.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.388, allocations: 1.066 MB / 0.7136 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/0.3881, allocations: 49.69 kB / 0.7137 GB, free: 14.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.3885, allocations: 0.5829 MB / 0.7142 GB, free: 13.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.3887, allocations: 374.5 kB / 0.7146 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.3891, allocations: 190.5 kB / 0.7148 GB, free: 13.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3892, allocations: 349.9 kB / 0.7151 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.3904, allocations: 0.5098 MB / 0.7156 GB, free: 12.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3917, allocations: 0.6576 MB / 0.7162 GB, free: 11.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.3944, allocations: 1.509 MB / 0.7177 GB, free: 10.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.3944, allocations: 4 kB / 0.7177 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005633/0.4, allocations: 2.134 MB / 0.7198 GB, free: 8.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4002, allocations: 218.2 kB / 0.72 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005439/0.4056, allocations: 2.035 MB / 0.722 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.4069, allocations: 422.2 kB / 0.7224 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.4075, allocations: 147.7 kB / 0.7225 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.4182, allocations: 6.867 MB / 0.7292 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/0.4192, allocations: 115 kB / 0.7293 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4193, allocations: 48.03 kB / 0.7294 GB, free: 13.68 MB / 0.5606 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.0005992/0.4199, allocations: 0.5096 MB / 0.7299 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.4201, allocations: 134.4 kB / 0.73 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005811/0.4259, allocations: 2.209 MB / 0.7322 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.4259, allocations: 8 kB / 0.7322 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4259, allocations: 4 kB / 0.7322 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.426, allocations: 7.922 kB / 0.7322 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.4273, allocations: 1.329 MB / 0.7335 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005477/0.4328, allocations: 2.021 MB / 0.7355 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.4333, allocations: 107.8 kB / 0.7356 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.4345, allocations: 430.2 kB / 0.736 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.4346, allocations: 39.97 kB / 0.736 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.4451, allocations: 6.828 MB / 0.7427 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4451, allocations: 0 / 0.7427 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.4509, allocations: 2.204 MB / 0.7448 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.4514, allocations: 367.1 kB / 0.7452 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.4516, allocations: 20 kB / 0.7452 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008551/0.4524, allocations: 55.94 kB / 0.7453 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.4527, allocations: 112.7 kB / 0.7454 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/0.4528, allocations: 39.97 kB / 0.7454 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009092/0.4537, allocations: 0.7503 MB / 0.7461 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4538, allocations: 0 / 0.7461 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001079/0.4548, allocations: 411.1 kB / 0.7465 GB, free: 11.41 MB / 0.5762 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.001185/0.456, allocations: 0.5448 MB / 0.7471 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004072/0.4601, allocations: 2.315 MB / 0.7493 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4601, allocations: 64 / 0.7493 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.4627, allocations: 1.64 MB / 0.7509 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.4635, allocations: 167.3 kB / 0.7511 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.4678, allocations: 2.593 MB / 0.7536 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.4686, allocations: 1.198 MB / 0.7548 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006039/0.4692, allocations: 203.2 kB / 0.755 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.4695, allocations: 79.41 kB / 0.7551 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.4695, allocations: 0 / 0.7551 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of Templates: time 0.03037/0.4998, allocations: 21.12 MB / 0.7757 GB, free: 13.57 MB / 0.6075 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)