Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001715/0.001715, allocations: 183 kB / 17.34 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 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.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8136, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007111/0.8207, allocations: 5.73 MB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2092/1.03, allocations: 155.2 MB / 1.246 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/1.032, allocations: 24.81 kB / 1.246 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004921/1.037, allocations: 1.771 MB / 1.248 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/1.04, allocations: 0.8102 MB / 1.248 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/1.042, allocations: 0.9811 MB / 1.249 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002566/1.045, allocations: 2.369 MB / 1.252 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/1.046, allocations: 0.9798 MB / 1.253 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/1.047, allocations: 0.876 MB / 1.253 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/1.048, allocations: 0.9024 MB / 1.254 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/1.049, allocations: 184 kB / 1.255 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/1.053, allocations: 2.263 MB / 1.257 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009182/1.054, allocations: 1.158 MB / 1.258 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008529/1.055, allocations: 0.9014 MB / 1.259 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005301/1.06, allocations: 3.704 MB / 1.262 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/1.06, allocations: 0 / 1.262 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/1.06, allocations: 0 / 1.262 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.702e-05/1.06, allocations: 0 / 1.262 GB, free: 11.79 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004044/1.064, allocations: 2.348 MB / 1.265 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.064, allocations: 12.03 kB / 1.265 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.065, allocations: 270.3 kB / 1.265 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/1.068, allocations: 2.928 MB / 1.268 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/1.069, allocations: 102.5 kB / 1.268 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.069, allocations: 140 kB / 1.268 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/1.071, allocations: 1.36 MB / 1.269 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.071, allocations: 0 / 1.269 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.071, allocations: 56 kB / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/1.071, allocations: 32 kB / 1.269 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/1.073, allocations: 1.496 MB / 1.271 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006721/1.08, allocations: 5.081 MB / 1.276 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/1.082, allocations: 1.123 MB / 1.277 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007458/1.083, allocations: 447.7 kB / 1.277 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/1.083, allocations: 33.02 kB / 1.277 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/1.084, allocations: 0.6605 MB / 1.278 GB, free: 11.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=100): time 2.364e-06/1.084, allocations: 4 kB / 1.278 GB, free: 11.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=100): time 0.003888/1.088, allocations: 1.649 MB / 1.28 GB, free: 9.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.088, allocations: 204.8 kB / 1.28 GB, free: 9.508 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/1.093, allocations: 4.098 MB / 1.284 GB, free: 5.402 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.093, allocations: 53.7 kB / 1.284 GB, free: 5.344 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005867/1.094, allocations: 0.653 MB / 1.285 GB, free: 4.684 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.094, allocations: 327.3 kB / 1.285 GB, free: 4.359 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008668/1.095, allocations: 0.9509 MB / 1.286 GB, free: 3.398 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.095, allocations: 301.1 kB / 1.286 GB, free: 3.102 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/1.101, allocations: 6.343 MB / 1.292 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006066/1.107, allocations: 6.577 MB / 1.299 GB, free: 6.156 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/1.114, allocations: 7.466 MB / 1.306 GB, free: 14.64 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.114, allocations: 4 kB / 1.306 GB, free: 14.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01457/1.129, allocations: 14.16 MB / 1.32 GB, free: 428 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/1.129, allocations: 4 kB / 1.32 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.129, allocations: 4 kB / 1.32 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/1.129, allocations: 84.83 kB / 1.32 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.13, allocations: 255.6 kB / 1.32 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.133, allocations: 1.628 MB / 1.322 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.134, allocations: 150.7 kB / 1.322 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.134, allocations: 59.97 kB / 1.322 GB, free: 14.09 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 146 * Array equations: 12 * Algorithm blocks: 0 * 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.001087/1.135, allocations: 0.6208 MB / 1.323 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.136, allocations: 134.2 kB / 1.323 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/1.139, allocations: 1.474 MB / 1.324 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.139, allocations: 16 kB / 1.324 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/1.139, allocations: 0 / 1.324 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.139, allocations: 7.969 kB / 1.324 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/1.14, allocations: 1.307 MB / 1.325 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.14, allocations: 4 kB / 1.325 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/1.141, allocations: 183.7 kB / 1.326 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/1.141, allocations: 72.78 kB / 1.326 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/1.142, allocations: 31.98 kB / 1.326 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.143, allocations: 1.654 MB / 1.327 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.143, allocations: 3.938 kB / 1.327 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/1.146, allocations: 1.263 MB / 1.329 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/1.146, allocations: 367 kB / 1.329 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.146, allocations: 27.91 kB / 1.329 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/1.147, allocations: 78.41 kB / 1.329 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.147, allocations: 88.81 kB / 1.329 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/1.148, allocations: 48.05 kB / 1.329 GB, free: 6.457 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002362/1.15, allocations: 2.638 MB / 1.332 GB, free: 3.816 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.15, allocations: 0 / 1.332 GB, free: 3.816 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002421/1.152, allocations: 0.983 MB / 1.333 GB, free: 2.832 MB / 1.061 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.00226/1.155, allocations: 0.9502 MB / 1.334 GB, free: 2.059 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008209/1.163, allocations: 8.388 MB / 1.342 GB, free: 9.652 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.163, allocations: 4 kB / 1.342 GB, free: 9.648 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.164, allocations: 0.6641 MB / 1.342 GB, free: 8.977 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.165, allocations: 348.1 kB / 1.343 GB, free: 8.656 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/1.171, allocations: 3.514 MB / 1.346 GB, free: 5.102 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008673/1.172, allocations: 1.309 MB / 1.347 GB, free: 3.762 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/1.173, allocations: 163.4 kB / 1.348 GB, free: 3.602 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/1.173, allocations: 0 / 1.348 GB, free: 3.602 MB / 1.076 GB Notification: Performance of Templates: time 0.05277/1.226, allocations: 38.25 MB / 1.385 GB, free: 13.88 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)