Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001061, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001088/0.001088, allocations: 187 kB / 17.34 MB, free: 5.742 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 71.88 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.8941, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008638/0.9027, allocations: 6.994 MB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2171/1.12, allocations: 159.4 MB / 1.251 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/1.122, allocations: 39.81 kB / 1.251 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005849/1.128, allocations: 1.959 MB / 1.253 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004047/1.132, allocations: 1.201 MB / 1.254 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/1.136, allocations: 1.428 MB / 1.256 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006033/1.142, allocations: 5.245 MB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/1.144, allocations: 1.178 MB / 1.262 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/1.147, allocations: 1.664 MB / 1.264 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/1.149, allocations: 1.463 MB / 1.265 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003946/1.149, allocations: 276 kB / 1.265 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/1.154, allocations: 2.364 MB / 1.268 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002542/1.156, allocations: 2.836 MB / 1.27 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001638/1.158, allocations: 1.356 MB / 1.272 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007597/1.165, allocations: 5.114 MB / 1.277 GB, free: 13.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.165, allocations: 0 / 1.277 GB, free: 13.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.194e-06/1.166, allocations: 0 / 1.277 GB, free: 13.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.982e-05/1.166, allocations: 3.938 kB / 1.277 GB, free: 13.17 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.00609/1.172, allocations: 3.354 MB / 1.28 GB, free: 9.746 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.172, allocations: 16.03 kB / 1.28 GB, free: 9.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/1.173, allocations: 361.2 kB / 1.28 GB, free: 9.375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007743/1.181, allocations: 7.449 MB / 1.288 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.181, allocations: 138.9 kB / 1.288 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/1.181, allocations: 184 kB / 1.288 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/1.184, allocations: 1.964 MB / 1.29 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/1.184, allocations: 4 kB / 1.29 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.184, allocations: 60 kB / 1.29 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/1.185, allocations: 36 kB / 1.29 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/1.187, allocations: 1.982 MB / 1.292 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/1.201, allocations: 10.1 MB / 1.302 GB, free: 3.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/1.204, allocations: 1.787 MB / 1.303 GB, free: 1.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.206, allocations: 1.085 MB / 1.304 GB, free: 308 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/1.206, allocations: 41.09 kB / 1.304 GB, free: 268 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/1.207, allocations: 1.196 MB / 1.306 GB, free: 15.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=117): time 2.956e-06/1.207, allocations: 0 / 1.306 GB, free: 15.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=117): time 0.006536/1.214, allocations: 3.447 MB / 1.309 GB, free: 11.56 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/1.214, allocations: 346.5 kB / 1.309 GB, free: 11.17 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01457/1.229, allocations: 11.59 MB / 1.321 GB, free: 15.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0005/1.229, allocations: 65.7 kB / 1.321 GB, free: 15.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.231, allocations: 0.9607 MB / 1.322 GB, free: 14.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006564/1.231, allocations: 398.4 kB / 1.322 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003136/1.235, allocations: 2.676 MB / 1.325 GB, free: 11.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.235, allocations: 301.1 kB / 1.325 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01865/1.253, allocations: 20.11 MB / 1.345 GB, free: 7.012 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02005/1.273, allocations: 20.7 MB / 1.365 GB, free: 2.258 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02494/1.298, allocations: 23.57 MB / 1.388 GB, free: 10.56 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/1.298, allocations: 0 / 1.388 GB, free: 10.56 MB / 1.123 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04838/1.347, allocations: 44.23 MB / 1.431 GB, free: 14.19 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/1.347, allocations: 169.6 kB / 1.431 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/1.347, allocations: 4 kB / 1.431 GB, free: 14.01 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/1.348, allocations: 93.08 kB / 1.431 GB, free: 13.92 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/1.35, allocations: 411.4 kB / 1.432 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.352, allocations: 1.64 MB / 1.433 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.354, allocations: 237.5 kB / 1.433 GB, free: 11.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004018/1.355, allocations: 107.9 kB / 1.434 GB, free: 11.39 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002364/1.357, allocations: 1.55 MB / 1.435 GB, free: 9.828 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/1.358, allocations: 213.2 kB / 1.435 GB, free: 9.617 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/1.363, allocations: 2.933 MB / 1.438 GB, free: 6.664 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.363, allocations: 12 kB / 1.438 GB, free: 6.652 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.363, allocations: 0 / 1.438 GB, free: 6.652 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.363, allocations: 7.984 kB / 1.438 GB, free: 6.645 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/1.366, allocations: 1.797 MB / 1.44 GB, free: 4.793 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.366, allocations: 0 / 1.44 GB, free: 4.793 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/1.366, allocations: 187.7 kB / 1.44 GB, free: 4.609 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/1.367, allocations: 72.78 kB / 1.44 GB, free: 4.535 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.367, allocations: 43.97 kB / 1.44 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/1.369, allocations: 1.65 MB / 1.442 GB, free: 2.695 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.369, allocations: 4.062 kB / 1.442 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/1.373, allocations: 2.776 MB / 1.445 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008174/1.374, allocations: 490.1 kB / 1.445 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/1.375, allocations: 31.91 kB / 1.445 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.376, allocations: 74.58 kB / 1.445 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/1.376, allocations: 100.9 kB / 1.445 GB, free: 15.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.376, allocations: 59.97 kB / 1.445 GB, free: 15.12 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006446/1.382, allocations: 7.265 MB / 1.452 GB, free: 7.84 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.61e-07/1.382, allocations: 0 / 1.452 GB, free: 7.84 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00331/1.386, allocations: 1.358 MB / 1.454 GB, free: 6.48 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00273/1.389, allocations: 0.9621 MB / 1.455 GB, free: 5.691 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02439/1.413, allocations: 26.77 MB / 1.481 GB, free: 10.89 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.413, allocations: 0 / 1.481 GB, free: 10.89 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.416, allocations: 1.906 MB / 1.483 GB, free: 8.949 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.418, allocations: 425.5 kB / 1.483 GB, free: 8.547 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.429, allocations: 6.823 MB / 1.49 GB, free: 1.684 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/1.431, allocations: 1.722 MB / 1.491 GB, free: 15.94 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/1.431, allocations: 199.4 kB / 1.492 GB, free: 15.75 MB / 1.232 GB Notification: Performance of SimCode: time 8.92e-07/1.431, allocations: 4 kB / 1.492 GB, free: 15.74 MB / 1.232 GB Notification: Performance of Templates: time 0.08824/1.52, allocations: 63.8 MB / 1.554 GB, free: 0.9297 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)