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: "" <> 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.001163/0.001163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001139/0.001139, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.14/2.14, allocations: 390.3 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5177, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006689/0.5244, allocations: 6.944 MB / 0.956 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.68, allocations: 157.1 MB / 1.109 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.6815, allocations: 31.81 kB / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004645/0.6862, allocations: 1.799 MB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.6892, allocations: 1.085 MB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.6923, allocations: 1.298 MB / 1.114 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004956/0.6973, allocations: 5.241 MB / 1.119 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.699, allocations: 1.174 MB / 1.12 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.7013, allocations: 1.713 MB / 1.122 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.7034, allocations: 1.498 MB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006001/0.704, allocations: 280 kB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.7075, allocations: 2.329 MB / 1.126 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.7099, allocations: 3.018 MB / 1.128 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003566/0.7135, allocations: 2.896 MB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009791/0.7233, allocations: 10.65 MB / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7233, allocations: 0 / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7233, allocations: 0 / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001885/0.7235, allocations: 0 / 1.142 GB, free: 12.27 MB / 0.9044 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.01756/0.7411, allocations: 8.234 MB / 1.15 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.7411, allocations: 12.03 kB / 1.15 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002917/0.7414, allocations: 219.9 kB / 1.15 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.7438, allocations: 0.6033 MB / 1.151 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5558/1.3, allocations: 276 MB / 1.42 GB, free: 123 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/1.3, allocations: 146.9 kB / 1.42 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/1.3, allocations: 184 kB / 1.42 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/1.303, allocations: 1.958 MB / 1.422 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.303, allocations: 3.938 kB / 1.422 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.303, allocations: 67.98 kB / 1.422 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/1.303, allocations: 41.08 kB / 1.422 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/1.305, allocations: 1.987 MB / 1.424 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03705/1.342, allocations: 69.89 MB / 1.493 GB, free: 48.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/1.344, allocations: 1.792 MB / 1.494 GB, free: 46.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/1.346, allocations: 1.087 MB / 1.495 GB, free: 45.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/1.346, allocations: 40.92 kB / 1.495 GB, free: 45.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/1.347, allocations: 1.196 MB / 1.497 GB, free: 44.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.585e-06/1.347, allocations: 0 / 1.497 GB, free: 44.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006946/1.354, allocations: 3.698 MB / 1.5 GB, free: 40.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.354, allocations: 338.5 kB / 1.501 GB, free: 40.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6608/2.015, allocations: 315.9 MB / 1.809 GB, free: 308.8 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003617/2.015, allocations: 65.7 kB / 1.809 GB, free: 308.8 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/2.018, allocations: 2.23 MB / 1.811 GB, free: 306.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/2.018, allocations: 387 kB / 1.812 GB, free: 306.5 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000697/2.019, allocations: 457.8 kB / 1.812 GB, free: 306.1 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 3.138e-05/2.019, allocations: 304.9 kB / 1.812 GB, free: 305.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/2.02, allocations: 1.527 MB / 1.814 GB, free: 304.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/2.022, allocations: 1.833 MB / 1.816 GB, free: 302.4 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/2.025, allocations: 3.227 MB / 1.819 GB, free: 299.1 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/2.025, allocations: 1.812 kB / 1.819 GB, free: 299.1 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006411/2.032, allocations: 4.283 MB / 1.823 GB, free: 294.8 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/2.032, allocations: 165.6 kB / 1.823 GB, free: 294.6 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/2.032, allocations: 8 kB / 1.823 GB, free: 294.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/2.032, allocations: 86.88 kB / 1.823 GB, free: 294.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/2.033, allocations: 389.8 kB / 1.824 GB, free: 294.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04243/2.076, allocations: 1.647 MB / 1.825 GB, free: 292.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/2.079, allocations: 0.6332 MB / 1.826 GB, free: 291.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/2.079, allocations: 86.22 kB / 1.826 GB, free: 291.7 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.002081/2.082, allocations: 2.164 MB / 1.828 GB, free: 289.5 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/2.083, allocations: 461.9 kB / 1.828 GB, free: 289 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/2.087, allocations: 3.382 MB / 1.832 GB, free: 285.6 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/2.087, allocations: 12 kB / 1.832 GB, free: 285.6 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/2.087, allocations: 0 / 1.832 GB, free: 285.6 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/2.087, allocations: 7.969 kB / 1.832 GB, free: 285.6 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/2.09, allocations: 4.084 MB / 1.836 GB, free: 281.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/2.09, allocations: 0 / 1.836 GB, free: 281.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/2.091, allocations: 195.7 kB / 1.836 GB, free: 281.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003947/2.091, allocations: 75.36 kB / 1.836 GB, free: 281.2 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/2.092, allocations: 39.97 kB / 1.836 GB, free: 281.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/2.093, allocations: 1.65 MB / 1.838 GB, free: 279.4 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.093, allocations: 3.938 kB / 1.838 GB, free: 279.4 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/2.097, allocations: 3.028 MB / 1.841 GB, free: 276.3 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/2.099, allocations: 1.78 MB / 1.842 GB, free: 274.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006854/2.099, allocations: 31.94 kB / 1.842 GB, free: 274.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/2.101, allocations: 414.4 kB / 1.843 GB, free: 274.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/2.102, allocations: 104.8 kB / 1.843 GB, free: 274 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/2.102, allocations: 55.97 kB / 1.843 GB, free: 274 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1413/2.243, allocations: 251.5 MB / 2.089 GB, free: 22.41 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.91e-07/2.243, allocations: 0 / 2.089 GB, free: 22.41 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003765/2.247, allocations: 1.381 MB / 2.09 GB, free: 21.1 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.006188/2.253, allocations: 4.456 MB / 2.094 GB, free: 16.89 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004816/2.258, allocations: 4.86 MB / 2.099 GB, free: 12.02 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/2.258, allocations: 0 / 2.099 GB, free: 12.02 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/2.259, allocations: 1.899 MB / 2.101 GB, free: 10.1 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/2.262, allocations: 0.6045 MB / 2.102 GB, free: 9.516 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.927/4.188, allocations: 1.278 GB / 3.38 GB, free: 45.87 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/4.191, allocations: 3.016 MB / 3.383 GB, free: 42.85 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003446/4.195, allocations: 1.689 MB / 3.384 GB, free: 41.32 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003203/4.198, allocations: 2.346 MB / 3.387 GB, free: 38.98 MB / 1.154 GB Notification: Performance of SimCode: time 1.393e-06/4.198, allocations: 0 / 3.387 GB, free: 38.98 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.64/6.838, allocations: 275.7 MB / 3.656 GB, free: 212.4 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/6.838, allocations: 299.9 kB / 3.656 GB, free: 212.1 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.217/12.06, allocations: 0 / 3.656 GB, free: 212.1 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)