Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.001726/0.001726, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001987, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.183/2.183, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5917/0.593, allocations: 140.4 MB / 0.9497 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006641/0.5997, allocations: 5.766 MB / 0.9554 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.7552, allocations: 155.5 MB / 1.107 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.7567, allocations: 27.81 kB / 1.107 GB, free: 116 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004132/0.7609, allocations: 1.774 MB / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.7632, allocations: 0.781 MB / 1.11 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.7654, allocations: 1.022 MB / 1.111 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.7686, allocations: 3.44 MB / 1.114 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.7698, allocations: 0.9554 MB / 1.115 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.7714, allocations: 1.145 MB / 1.116 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.773, allocations: 1.035 MB / 1.117 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005373/0.7736, allocations: 207.9 kB / 1.117 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.7771, allocations: 2.22 MB / 1.119 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.7784, allocations: 1.415 MB / 1.121 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.7805, allocations: 1.473 MB / 1.122 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.7857, allocations: 5.552 MB / 1.128 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7857, allocations: 0 / 1.128 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7857, allocations: 0 / 1.128 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.985e-05/0.7857, allocations: 0 / 1.128 GB, free: 11.01 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.006332/0.7921, allocations: 4.175 MB / 1.132 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7921, allocations: 12.03 kB / 1.132 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.7923, allocations: 198.1 kB / 1.132 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.7934, allocations: 341.2 kB / 1.132 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07203/0.8654, allocations: 87.7 MB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.8656, allocations: 114.4 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.866, allocations: 148 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.8688, allocations: 1.542 MB / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.8688, allocations: 0 / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.869, allocations: 52 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.869, allocations: 28 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.8713, allocations: 1.613 MB / 1.221 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/0.8917, allocations: 23.69 MB / 1.245 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.8942, allocations: 1.438 MB / 1.246 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.8954, allocations: 0.8902 MB / 1.247 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.381e-05/0.8955, allocations: 33.17 kB / 1.247 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4858/1.381, allocations: 0.9467 MB / 1.248 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 5.721e-06/1.381, allocations: 0 / 1.248 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.005488/1.387, allocations: 2.755 MB / 1.25 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/1.387, allocations: 325.1 kB / 1.251 GB, free: 287 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08434/1.471, allocations: 99.69 MB / 1.348 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/1.472, allocations: 62.23 kB / 1.348 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009577/1.473, allocations: 1.099 MB / 1.349 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/1.473, allocations: 339 kB / 1.35 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005312/1.474, allocations: 355.5 kB / 1.35 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/1.474, allocations: 301.1 kB / 1.35 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/1.475, allocations: 1.2 MB / 1.351 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.476, allocations: 1.42 MB / 1.353 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/1.479, allocations: 2.582 MB / 1.355 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/1.479, allocations: 4 kB / 1.355 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004402/1.483, allocations: 3.209 MB / 1.358 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.484, allocations: 153.6 kB / 1.359 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.484, allocations: 4 kB / 1.359 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/1.484, allocations: 10.62 kB / 1.359 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/1.485, allocations: 311.5 kB / 1.359 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/1.485, allocations: 8 kB / 1.359 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.486, allocations: 328.4 kB / 1.359 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.486, allocations: 71.09 kB / 1.359 GB, free: 191.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001346/1.488, allocations: 1.044 MB / 1.36 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009841/1.489, allocations: 236.9 kB / 1.36 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/1.492, allocations: 2.517 MB / 1.363 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.492, allocations: 8 kB / 1.363 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.492, allocations: 8.062 kB / 1.363 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.492, allocations: 7.031 kB / 1.363 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/1.495, allocations: 2.013 MB / 1.365 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.495, allocations: 1.969 kB / 1.365 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/1.496, allocations: 167.6 kB / 1.365 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/1.496, allocations: 4 kB / 1.365 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/1.496, allocations: 35.98 kB / 1.365 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.496, allocations: 11.73 kB / 1.365 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.496, allocations: 0 / 1.365 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/1.499, allocations: 2.334 MB / 1.367 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.5, allocations: 0.798 MB / 1.368 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/1.501, allocations: 31.94 kB / 1.368 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.502, allocations: 185.6 kB / 1.368 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.502, allocations: 76.89 kB / 1.368 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/1.503, allocations: 51.97 kB / 1.369 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04687/1.549, allocations: 79.57 MB / 1.446 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.72e-07/1.55, allocations: 416 / 1.446 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003144/1.553, allocations: 1.055 MB / 1.447 GB, free: 101.2 MB / 0.9981 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006744/1.559, allocations: 3.734 MB / 1.451 GB, free: 97.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00431/1.564, allocations: 3.982 MB / 1.455 GB, free: 93.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.564, allocations: 0 / 1.455 GB, free: 93.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/1.565, allocations: 1.528 MB / 1.456 GB, free: 92.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.568, allocations: 398.9 kB / 1.457 GB, free: 91.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6486/2.216, allocations: 416.8 MB / 1.864 GB, free: 233 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/2.218, allocations: 1.788 MB / 1.865 GB, free: 231.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001737/2.219, allocations: 0.7816 MB / 1.866 GB, free: 230.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/2.221, allocations: 1.14 MB / 1.867 GB, free: 229.4 MB / 1.123 GB Notification: Performance of SimCode: time 7.11e-07/2.221, allocations: 0 / 1.867 GB, free: 229.4 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.824/4.045, allocations: 110.8 MB / 1.976 GB, free: 119.7 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/16.59, allocations: 7.5 kB / 1.976 GB, free: 119.7 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)