Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(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_latest_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_latest_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.001074/0.001074, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001081/0.001081, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.496/2.496, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.28 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3099, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.0118/0.3217, allocations: 8.199 MB / 1.072 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7568/1.079, allocations: 159.5 MB / 1.228 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/1.08, allocations: 37.91 kB / 1.228 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005399/1.086, allocations: 1.987 MB / 1.23 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003487/1.089, allocations: 1.276 MB / 1.231 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/1.093, allocations: 1.438 MB / 1.233 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004885/1.098, allocations: 5.426 MB / 1.238 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/1.099, allocations: 1.123 MB / 1.239 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/1.101, allocations: 1.679 MB / 1.241 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/1.103, allocations: 1.491 MB / 1.242 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/1.104, allocations: 279.9 kB / 1.242 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/1.107, allocations: 2.317 MB / 1.245 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002501/1.11, allocations: 2.844 MB / 1.247 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/1.112, allocations: 1.403 MB / 1.249 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00641/1.118, allocations: 5.105 MB / 1.254 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.118, allocations: 0 / 1.254 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/1.118, allocations: 0 / 1.254 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.718e-05/1.118, allocations: 0 / 1.254 GB, free: 6.906 MB / 0.9669 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.00582/1.124, allocations: 3.385 MB / 1.257 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.124, allocations: 12.62 kB / 1.257 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/1.125, allocations: 361.3 kB / 1.257 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/1.136, allocations: 7.406 MB / 1.265 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/1.136, allocations: 146.9 kB / 1.265 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003644/1.137, allocations: 184 kB / 1.265 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004432/1.141, allocations: 1.968 MB / 1.267 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/1.141, allocations: 3.984 kB / 1.267 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/1.142, allocations: 60 kB / 1.267 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/1.142, allocations: 40 kB / 1.267 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004431/1.146, allocations: 1.982 MB / 1.269 GB, free: 7.141 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/1.164, allocations: 10.64 MB / 1.279 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/1.168, allocations: 1.791 MB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/1.17, allocations: 1.081 MB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/1.17, allocations: 37.11 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0025/1.172, allocations: 1.199 MB / 1.283 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 3.757e-06/1.172, allocations: 0 / 1.283 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.009317/1.182, allocations: 3.451 MB / 1.287 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/1.182, allocations: 342.5 kB / 1.287 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01524/1.197, allocations: 11.58 MB / 1.298 GB, free: 8.652 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004682/1.198, allocations: 69.7 kB / 1.298 GB, free: 8.578 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.199, allocations: 0.9646 MB / 1.299 GB, free: 7.602 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006564/1.2, allocations: 402.5 kB / 1.3 GB, free: 7.203 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002496/1.202, allocations: 2.676 MB / 1.302 GB, free: 4.508 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.202, allocations: 301.1 kB / 1.303 GB, free: 4.211 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01849/1.221, allocations: 20.1 MB / 1.322 GB, free: 100 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01939/1.24, allocations: 20.71 MB / 1.343 GB, free: 11.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02312/1.263, allocations: 23.57 MB / 1.366 GB, free: 3.645 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/1.263, allocations: 0 / 1.366 GB, free: 3.645 MB / 1.076 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04725/1.311, allocations: 44.23 MB / 1.409 GB, free: 7.273 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002963/1.311, allocations: 165.6 kB / 1.409 GB, free: 7.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/1.311, allocations: 4 kB / 1.409 GB, free: 7.102 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006943/1.312, allocations: 92.98 kB / 1.409 GB, free: 7.008 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.314, allocations: 411.4 kB / 1.409 GB, free: 6.605 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/1.316, allocations: 1.643 MB / 1.411 GB, free: 4.816 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/1.319, allocations: 241.6 kB / 1.411 GB, free: 4.578 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005209/1.319, allocations: 116 kB / 1.411 GB, free: 4.465 MB / 1.123 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.002682/1.322, allocations: 1.542 MB / 1.413 GB, free: 2.91 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/1.322, allocations: 209.3 kB / 1.413 GB, free: 2.703 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/1.328, allocations: 2.945 MB / 1.416 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.328, allocations: 12 kB / 1.416 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.328, allocations: 0 / 1.416 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/1.328, allocations: 7.969 kB / 1.416 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/1.331, allocations: 1.786 MB / 1.418 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.331, allocations: 0 / 1.418 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007617/1.332, allocations: 183.7 kB / 1.418 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/1.333, allocations: 76.78 kB / 1.418 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.333, allocations: 39.97 kB / 1.418 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.335, allocations: 1.658 MB / 1.42 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.335, allocations: 3.984 kB / 1.42 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/1.339, allocations: 2.773 MB / 1.422 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000879/1.34, allocations: 0.4903 MB / 1.423 GB, free: 8.453 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/1.341, allocations: 27.98 kB / 1.423 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.342, allocations: 79.86 kB / 1.423 GB, free: 8.348 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/1.342, allocations: 96.8 kB / 1.423 GB, free: 8.254 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.342, allocations: 63.97 kB / 1.423 GB, free: 8.191 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.006451/1.349, allocations: 7.265 MB / 1.43 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/1.349, allocations: 0 / 1.43 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003435/1.352, allocations: 1.381 MB / 1.431 GB, free: 15.53 MB / 1.154 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.002845/1.355, allocations: 0.9515 MB / 1.432 GB, free: 14.75 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02472/1.38, allocations: 27.3 MB / 1.459 GB, free: 3.418 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.38, allocations: 0 / 1.459 GB, free: 3.418 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/1.382, allocations: 1.91 MB / 1.461 GB, free: 1.477 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/1.385, allocations: 443.2 kB / 1.461 GB, free: 1.059 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/1.395, allocations: 6.793 MB / 1.468 GB, free: 10.23 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.396, allocations: 1.717 MB / 1.47 GB, free: 8.488 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/1.397, allocations: 207.4 kB / 1.47 GB, free: 8.285 MB / 1.186 GB Notification: Performance of SimCode: time 7.11e-07/1.397, allocations: 0 / 1.47 GB, free: 8.285 MB / 1.186 GB Notification: Performance of Templates: time 0.08393/1.481, allocations: 63.9 MB / 1.532 GB, free: 9.473 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)