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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 186.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009611, allocations: 98.23 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004256, allocations: 8.844 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3858, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.868/5.254, allocations: 1.754 GB / 2.977 GB, free: 228.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004176/5.254, allocations: 102.1 kB / 2.977 GB, free: 228.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2906/5.545, allocations: 128.6 MB / 3.103 GB, free: 113.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.619e-06/5.545, allocations: 0 / 3.103 GB, free: 113.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003749/5.545, allocations: 47.94 kB / 3.103 GB, free: 113.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.07075/5.616, allocations: 23.14 MB / 3.126 GB, free: 90.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/5.616, allocations: 12.03 kB / 3.126 GB, free: 90.18 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008116/5.624, allocations: 344.5 kB / 3.126 GB, free: 89.84 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8826/6.507, allocations: 94.33 MB / 3.218 GB, free: 366.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/6.507, allocations: 92.61 kB / 3.218 GB, free: 366.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/6.507, allocations: 120.6 kB / 3.218 GB, free: 366.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/6.51, allocations: 1.202 MB / 3.219 GB, free: 366.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/6.51, allocations: 0 / 3.219 GB, free: 366.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/6.51, allocations: 54.16 kB / 3.22 GB, free: 366.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/6.51, allocations: 27.03 kB / 3.22 GB, free: 366.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/6.513, allocations: 1.405 MB / 3.221 GB, free: 366.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1647/6.678, allocations: 79.22 MB / 3.298 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/6.68, allocations: 1.024 MB / 3.299 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/6.68, allocations: 39.98 kB / 3.299 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009114/6.681, allocations: 0.5616 MB / 3.3 GB, free: 355.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=88): time 2.886e-06/6.681, allocations: 0 / 3.3 GB, free: 355.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=88): time 0.01027/6.692, allocations: 1.589 MB / 3.301 GB, free: 354 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/6.692, allocations: 244.3 kB / 3.302 GB, free: 353.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1915/6.883, allocations: 103.7 MB / 3.403 GB, free: 258.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005609/6.884, allocations: 45.7 kB / 3.403 GB, free: 258.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/6.885, allocations: 0.9832 MB / 3.404 GB, free: 257.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/6.886, allocations: 289.2 kB / 3.404 GB, free: 257.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/6.886, allocations: 24 kB / 3.404 GB, free: 257.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000147/6.886, allocations: 340.6 kB / 3.405 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/6.887, allocations: 453.2 kB / 3.405 GB, free: 256.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/6.888, allocations: 0.5804 MB / 3.406 GB, free: 256.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/6.888, allocations: 0.5126 MB / 3.406 GB, free: 255.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/6.888, allocations: 0 / 3.406 GB, free: 255.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.009257/6.898, allocations: 1.394 MB / 3.407 GB, free: 254.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/6.898, allocations: 11.84 kB / 3.407 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/6.898, allocations: 0 / 3.407 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/6.898, allocations: 85.23 kB / 3.407 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/6.899, allocations: 220 kB / 3.408 GB, free: 254.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/6.901, allocations: 1.534 MB / 3.409 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007027/6.908, allocations: 233.2 kB / 3.409 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/6.908, allocations: 51.53 kB / 3.409 GB, free: 252.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001454/6.91, allocations: 0.7856 MB / 3.41 GB, free: 251.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00642/6.916, allocations: 217.7 kB / 3.41 GB, free: 251.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/6.919, allocations: 1.498 MB / 3.412 GB, free: 250.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/6.919, allocations: 8 kB / 3.412 GB, free: 250.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/6.919, allocations: 6.625 kB / 3.412 GB, free: 250.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/6.92, allocations: 7.875 kB / 3.412 GB, free: 250.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06362/6.983, allocations: 37.28 MB / 3.448 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/6.983, allocations: 0 / 3.448 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/6.984, allocations: 172.2 kB / 3.448 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/6.984, allocations: 94.69 kB / 3.449 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/6.985, allocations: 24.73 kB / 3.449 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/6.986, allocations: 1.57 MB / 3.45 GB, free: 214.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/6.986, allocations: 0 / 3.45 GB, free: 214.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00903/6.995, allocations: 1.299 MB / 3.451 GB, free: 213 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03239/7.028, allocations: 20.49 MB / 3.471 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008442/7.036, allocations: 27.98 kB / 3.471 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007686/7.044, allocations: 188.5 kB / 3.472 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/7.044, allocations: 72.89 kB / 3.472 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/7.044, allocations: 38.89 kB / 3.472 GB, free: 192.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.08033/7.125, allocations: 76.59 MB / 3.547 GB, free: 115.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.92e-07/7.125, allocations: 0 / 3.547 GB, free: 115.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01363/7.138, allocations: 6.071 MB / 3.552 GB, free: 109.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004341/7.143, allocations: 1.713 MB / 3.554 GB, free: 108.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002176/7.145, allocations: 1.127 MB / 3.555 GB, free: 107.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/7.145, allocations: 4 kB / 3.555 GB, free: 107.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008823/7.146, allocations: 0.6116 MB / 3.556 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007588/7.154, allocations: 348.7 kB / 3.556 GB, free: 106.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/7.164, allocations: 5.073 MB / 3.561 GB, free: 101.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/7.165, allocations: 1.716 MB / 3.563 GB, free: 99.88 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01479/7.18, allocations: 11.11 MB / 3.574 GB, free: 88.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01837/7.199, allocations: 3.344 MB / 3.577 GB, free: 85.57 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/7.199, allocations: 2.844 kB / 3.577 GB, free: 85.57 MB / 1.167 GB Notification: Performance of Templates: time 1.356/8.555, allocations: 0.4976 GB / 4.074 GB, free: 15.33 MB / 1.167 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)