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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.008661/0.008661, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.0002851, allocations: 16.28 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5017, allocations: 142.4 MB / 0.9552 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005316/0.507, allocations: 6.478 MB / 0.9615 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1362/0.6433, allocations: 151.9 MB / 1.11 GB, free: 452 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.6446, allocations: 31.81 kB / 1.11 GB, free: 420 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.649, allocations: 1.783 MB / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.6517, allocations: 1.07 MB / 1.113 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.6544, allocations: 1.25 MB / 1.114 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004431/0.6589, allocations: 5.201 MB / 1.119 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.6603, allocations: 1.114 MB / 1.12 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.6622, allocations: 1.264 MB / 1.121 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.6639, allocations: 1.229 MB / 1.123 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.6643, allocations: 68 kB / 1.123 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.6675, allocations: 2.024 MB / 1.125 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002162/0.6697, allocations: 2.795 MB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.6722, allocations: 2.383 MB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008022/0.6803, allocations: 10.27 MB / 1.14 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6803, allocations: 4 kB / 1.14 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6803, allocations: 0 / 1.14 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.523e-05/0.6804, allocations: 0 / 1.14 GB, free: 1.828 MB / 0.8887 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.0102/0.6906, allocations: 6.69 MB / 1.146 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6906, allocations: 8.031 kB / 1.146 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.6909, allocations: 223.9 kB / 1.146 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.6924, allocations: 0.6034 MB / 1.147 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5803/1.273, allocations: 276 MB / 1.417 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/1.273, allocations: 142.9 kB / 1.417 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/1.273, allocations: 184.6 kB / 1.417 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/1.276, allocations: 1.964 MB / 1.419 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.276, allocations: 4 kB / 1.419 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.276, allocations: 68 kB / 1.419 GB, free: 125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/1.276, allocations: 36 kB / 1.419 GB, free: 125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/1.278, allocations: 1.996 MB / 1.421 GB, free: 123 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03666/1.315, allocations: 69.99 MB / 1.489 GB, free: 52.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/1.317, allocations: 1.797 MB / 1.491 GB, free: 51.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009976/1.318, allocations: 1.083 MB / 1.492 GB, free: 50 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.202e-05/1.318, allocations: 41.09 kB / 1.492 GB, free: 49.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/1.319, allocations: 1.195 MB / 1.493 GB, free: 48.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 3.115e-06/1.319, allocations: 0 / 1.493 GB, free: 48.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.00562/1.325, allocations: 3.718 MB / 1.497 GB, free: 44.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.325, allocations: 342.5 kB / 1.497 GB, free: 44.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6695/1.995, allocations: 315.9 MB / 1.806 GB, free: 310.6 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003393/1.995, allocations: 65.7 kB / 1.806 GB, free: 310.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001676/1.997, allocations: 2.232 MB / 1.808 GB, free: 308.5 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/1.997, allocations: 384.2 kB / 1.808 GB, free: 308.3 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/1.997, allocations: 221.6 kB / 1.808 GB, free: 308.1 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 3.187e-05/1.997, allocations: 304.9 kB / 1.809 GB, free: 307.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/1.999, allocations: 1.526 MB / 1.81 GB, free: 306.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/2.001, allocations: 1.839 MB / 1.812 GB, free: 304.4 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/2.004, allocations: 3.239 MB / 1.815 GB, free: 301.1 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/2.004, allocations: 0 / 1.815 GB, free: 301.1 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005462/2.009, allocations: 4.282 MB / 1.819 GB, free: 296.9 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/2.009, allocations: 165.6 kB / 1.82 GB, free: 296.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/2.009, allocations: 8 kB / 1.82 GB, free: 296.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/2.01, allocations: 93.67 kB / 1.82 GB, free: 296.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/2.011, allocations: 395.4 kB / 1.82 GB, free: 296.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02686/2.038, allocations: 1.537 MB / 1.822 GB, free: 294.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/2.04, allocations: 0.6438 MB / 1.822 GB, free: 293.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/2.04, allocations: 87.97 kB / 1.822 GB, free: 293.9 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (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 (230): * Single equations (assignments): 228 * Array equations: 0 * 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.001802/2.042, allocations: 2.172 MB / 1.824 GB, free: 291.7 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/2.043, allocations: 457.9 kB / 1.825 GB, free: 291.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/2.047, allocations: 3.385 MB / 1.828 GB, free: 287.8 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/2.047, allocations: 15.94 kB / 1.828 GB, free: 287.8 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/2.047, allocations: 0 / 1.828 GB, free: 287.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/2.047, allocations: 11.97 kB / 1.828 GB, free: 287.8 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/2.05, allocations: 4.082 MB / 1.832 GB, free: 283.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/2.05, allocations: 0 / 1.832 GB, free: 283.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/2.05, allocations: 179.8 kB / 1.832 GB, free: 283.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/2.051, allocations: 92.7 kB / 1.832 GB, free: 283.4 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/2.051, allocations: 40.67 kB / 1.832 GB, free: 283.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/2.052, allocations: 1.544 MB / 1.834 GB, free: 281.7 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/2.052, allocations: 7.781 kB / 1.834 GB, free: 281.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/2.056, allocations: 3.044 MB / 1.837 GB, free: 278.6 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/2.057, allocations: 1.797 MB / 1.839 GB, free: 276.8 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005829/2.058, allocations: 28 kB / 1.839 GB, free: 276.8 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/2.06, allocations: 432.5 kB / 1.839 GB, free: 276.4 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/2.06, allocations: 101.6 kB / 1.839 GB, free: 276.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/2.06, allocations: 55.97 kB / 1.839 GB, free: 276.2 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1426/2.203, allocations: 251.5 MB / 2.085 GB, free: 24.66 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.082e-06/2.203, allocations: 0 / 2.085 GB, free: 24.66 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0043/2.207, allocations: 1.386 MB / 2.086 GB, free: 23.35 MB / 1.139 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.006591/2.214, allocations: 4.464 MB / 2.091 GB, free: 19.13 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003835/2.218, allocations: 4.335 MB / 2.095 GB, free: 14.77 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/2.218, allocations: 0.7031 kB / 2.095 GB, free: 14.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/2.219, allocations: 1.908 MB / 2.097 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/2.222, allocations: 0.5609 MB / 2.097 GB, free: 12.29 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.951/4.173, allocations: 1.278 GB / 3.376 GB, free: 40.77 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/4.176, allocations: 3.018 MB / 3.378 GB, free: 37.75 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003343/4.179, allocations: 1.687 MB / 3.38 GB, free: 36.23 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003059/4.182, allocations: 2.35 MB / 3.382 GB, free: 33.88 MB / 1.154 GB Notification: Performance of SimCode: time 8.41e-07/4.182, allocations: 0 / 3.382 GB, free: 33.88 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.238/6.421, allocations: 219.3 MB / 3.597 GB, free: 259.3 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/6.421, allocations: 300.3 kB / 3.597 GB, free: 259 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.737/11.16, allocations: 4 kB / 3.597 GB, free: 259 MB / 1.154 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)