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.001457/0.001458, allocations: 101.5 kB / 16.41 MB, free: 6.461 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.00171/0.00171, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.08 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.231/2.231, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8401, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01087/0.8511, allocations: 6.993 MB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2045/1.056, allocations: 159.4 MB / 1.251 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/1.058, allocations: 39.75 kB / 1.251 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005619/1.064, allocations: 1.97 MB / 1.253 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/1.067, allocations: 1.202 MB / 1.254 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/1.071, allocations: 1.424 MB / 1.256 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00563/1.077, allocations: 5.249 MB / 1.261 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/1.079, allocations: 1.178 MB / 1.262 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/1.082, allocations: 1.664 MB / 1.264 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/1.084, allocations: 1.467 MB / 1.265 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003944/1.084, allocations: 276 kB / 1.265 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/1.088, allocations: 2.352 MB / 1.268 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002321/1.091, allocations: 2.832 MB / 1.27 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/1.092, allocations: 1.36 MB / 1.272 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007684/1.1, allocations: 5.114 MB / 1.277 GB, free: 13.14 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.1, allocations: 0 / 1.277 GB, free: 13.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.485e-06/1.1, allocations: 4 kB / 1.277 GB, free: 13.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.95e-05/1.1, allocations: 0 / 1.277 GB, free: 13.14 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.007236/1.107, allocations: 3.358 MB / 1.28 GB, free: 9.707 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.107, allocations: 12.03 kB / 1.28 GB, free: 9.695 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.108, allocations: 361.2 kB / 1.28 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008289/1.117, allocations: 7.453 MB / 1.288 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.117, allocations: 130.9 kB / 1.288 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/1.117, allocations: 188 kB / 1.288 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/1.12, allocations: 1.96 MB / 1.29 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.121, allocations: 3.984 kB / 1.29 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/1.121, allocations: 72 kB / 1.29 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/1.121, allocations: 36 kB / 1.29 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/1.124, allocations: 1.974 MB / 1.292 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/1.137, allocations: 10.1 MB / 1.302 GB, free: 3.148 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/1.139, allocations: 1.779 MB / 1.303 GB, free: 1.359 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/1.141, allocations: 1.093 MB / 1.304 GB, free: 268 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.775e-05/1.141, allocations: 37.09 kB / 1.304 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/1.143, allocations: 1.195 MB / 1.306 GB, free: 15.01 MB / 1.045 GB Notification: Performance of pre-optimization done (n=117): time 3.667e-06/1.143, allocations: 0 / 1.306 GB, free: 15.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=117): time 0.006569/1.149, allocations: 3.455 MB / 1.309 GB, free: 11.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/1.15, allocations: 342.5 kB / 1.309 GB, free: 11.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01388/1.163, allocations: 11.59 MB / 1.321 GB, free: 15.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0005144/1.164, allocations: 61.7 kB / 1.321 GB, free: 15.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/1.165, allocations: 0.9685 MB / 1.322 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/1.166, allocations: 394.4 kB / 1.322 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/1.168, allocations: 2.672 MB / 1.325 GB, free: 11.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.168, allocations: 301.1 kB / 1.325 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01745/1.186, allocations: 20.11 MB / 1.345 GB, free: 6.965 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01863/1.204, allocations: 20.69 MB / 1.365 GB, free: 2.219 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.024/1.228, allocations: 23.57 MB / 1.388 GB, free: 10.52 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/1.228, allocations: 0 / 1.388 GB, free: 10.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04607/1.275, allocations: 44.23 MB / 1.431 GB, free: 14.15 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002767/1.275, allocations: 165.6 kB / 1.431 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/1.275, allocations: 4 kB / 1.431 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/1.276, allocations: 97.02 kB / 1.431 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/1.277, allocations: 411.4 kB / 1.432 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/1.28, allocations: 1.63 MB / 1.433 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.282, allocations: 237.5 kB / 1.433 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006001/1.283, allocations: 111.9 kB / 1.434 GB, free: 11.36 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.002664/1.286, allocations: 1.544 MB / 1.435 GB, free: 9.797 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007952/1.286, allocations: 217.2 kB / 1.435 GB, free: 9.582 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/1.292, allocations: 2.929 MB / 1.438 GB, free: 6.633 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.292, allocations: 12 kB / 1.438 GB, free: 6.621 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.292, allocations: 0 / 1.438 GB, free: 6.621 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.292, allocations: 11.97 kB / 1.438 GB, free: 6.609 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/1.296, allocations: 1.79 MB / 1.44 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.296, allocations: 0 / 1.44 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/1.296, allocations: 187.7 kB / 1.44 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/1.297, allocations: 76.78 kB / 1.44 GB, free: 4.504 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/1.297, allocations: 43.95 kB / 1.44 GB, free: 4.461 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/1.299, allocations: 1.658 MB / 1.442 GB, free: 2.656 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.299, allocations: 4.125 kB / 1.442 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/1.304, allocations: 2.777 MB / 1.445 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.305, allocations: 494.1 kB / 1.445 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/1.306, allocations: 27.91 kB / 1.445 GB, free: 15.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.307, allocations: 82.36 kB / 1.445 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/1.307, allocations: 96.88 kB / 1.445 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.308, allocations: 59.97 kB / 1.445 GB, free: 15.08 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00732/1.315, allocations: 7.261 MB / 1.452 GB, free: 7.801 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.11e-07/1.315, allocations: 0 / 1.452 GB, free: 7.801 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004414/1.319, allocations: 1.358 MB / 1.454 GB, free: 6.441 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.003711/1.323, allocations: 0.9759 MB / 1.455 GB, free: 5.645 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02567/1.349, allocations: 26.77 MB / 1.481 GB, free: 10.84 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.349, allocations: 4 kB / 1.481 GB, free: 10.84 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/1.352, allocations: 1.909 MB / 1.483 GB, free: 8.902 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/1.355, allocations: 428.2 kB / 1.483 GB, free: 8.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.367, allocations: 6.812 MB / 1.49 GB, free: 1.648 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/1.369, allocations: 1.716 MB / 1.491 GB, free: 15.91 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009928/1.37, allocations: 207.3 kB / 1.492 GB, free: 15.71 MB / 1.232 GB Notification: Performance of SimCode: time 9.82e-07/1.37, allocations: 0 / 1.492 GB, free: 15.71 MB / 1.232 GB Notification: Performance of Templates: time 0.09411/1.464, allocations: 63.8 MB / 1.554 GB, free: 0.8867 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)