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.001483/0.001483, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001835/0.001836, allocations: 195.3 kB / 16.26 MB, free: 6.625 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.257/2.257, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5483, allocations: 140.4 MB / 0.9492 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005356/0.5537, allocations: 5.755 MB / 0.9549 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1387/0.6924, allocations: 153.2 MB / 1.105 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.6938, allocations: 23.81 kB / 1.105 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.6982, allocations: 1.631 MB / 1.106 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.7004, allocations: 0.6936 MB / 1.107 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.7027, allocations: 0.9333 MB / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003102/0.7058, allocations: 3.448 MB / 1.111 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.7071, allocations: 0.9633 MB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.7086, allocations: 1.195 MB / 1.113 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.7101, allocations: 1.055 MB / 1.114 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.7105, allocations: 203.9 kB / 1.114 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.7135, allocations: 2.22 MB / 1.117 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/0.7144, allocations: 1.427 MB / 1.118 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.7156, allocations: 1.469 MB / 1.119 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.7203, allocations: 5.556 MB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7203, allocations: 0 / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7203, allocations: 0 / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.7203, allocations: 0 / 1.125 GB, free: 13.54 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.005676/0.726, allocations: 4.174 MB / 1.129 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.7261, allocations: 8.031 kB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.7263, allocations: 198.2 kB / 1.129 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/0.7273, allocations: 341.2 kB / 1.129 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07017/0.7974, allocations: 87.71 MB / 1.215 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.7976, allocations: 110.4 kB / 1.215 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.798, allocations: 152 kB / 1.215 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.8008, allocations: 1.538 MB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.8008, allocations: 0 / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.8009, allocations: 52 kB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.801, allocations: 28 kB / 1.217 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.8033, allocations: 1.609 MB / 1.218 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.8257, allocations: 23.69 MB / 1.242 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.8278, allocations: 1.434 MB / 1.243 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.8289, allocations: 0.8902 MB / 1.244 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.69e-05/0.829, allocations: 37.09 kB / 1.244 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.8303, allocations: 0.9421 MB / 1.245 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.477e-06/0.8303, allocations: 0 / 1.245 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.3999/1.23, allocations: 2.752 MB / 1.248 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/1.23, allocations: 327.1 kB / 1.248 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08741/1.318, allocations: 99.7 MB / 1.345 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002817/1.318, allocations: 53.7 kB / 1.345 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.319, allocations: 1.094 MB / 1.346 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/1.32, allocations: 343.5 kB / 1.347 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006326/1.32, allocations: 359.5 kB / 1.347 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.434e-05/1.32, allocations: 304.9 kB / 1.347 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.322, allocations: 1.194 MB / 1.348 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.323, allocations: 1.419 MB / 1.35 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/1.326, allocations: 2.591 MB / 1.352 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.326, allocations: 0 / 1.352 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004304/1.33, allocations: 3.211 MB / 1.356 GB, free: 195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.33, allocations: 145.6 kB / 1.356 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.33, allocations: 13.89 kB / 1.356 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.33, allocations: 13.08 kB / 1.356 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.331, allocations: 303.6 kB / 1.356 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.331, allocations: 17.59 kB / 1.356 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.333, allocations: 325.1 kB / 1.356 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.333, allocations: 71.97 kB / 1.356 GB, free: 194.1 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.001185/1.334, allocations: 1.034 MB / 1.357 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/1.335, allocations: 236.1 kB / 1.358 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/1.339, allocations: 2.535 MB / 1.36 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/1.339, allocations: 12 kB / 1.36 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.339, allocations: 0 / 1.36 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/1.339, allocations: 3.984 kB / 1.36 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/1.341, allocations: 2.008 MB / 1.362 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.341, allocations: 1.969 kB / 1.362 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/1.342, allocations: 155.8 kB / 1.362 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.342, allocations: 7.984 kB / 1.362 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/1.342, allocations: 35.92 kB / 1.362 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.342, allocations: 4 kB / 1.362 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.342, allocations: 6.828 kB / 1.362 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/1.345, allocations: 2.334 MB / 1.365 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.346, allocations: 0.8019 MB / 1.365 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005688/1.347, allocations: 39.5 kB / 1.365 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.348, allocations: 192 kB / 1.366 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.348, allocations: 80.89 kB / 1.366 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/1.348, allocations: 51.97 kB / 1.366 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04882/1.397, allocations: 79.56 MB / 1.443 GB, free: 105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.31e-07/1.397, allocations: 416 / 1.443 GB, free: 105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002657/1.4, allocations: 1.052 MB / 1.444 GB, free: 104 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.006058/1.406, allocations: 3.74 MB / 1.448 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004239/1.41, allocations: 3.986 MB / 1.452 GB, free: 96.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.41, allocations: 128 / 1.452 GB, free: 96.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.411, allocations: 1.532 MB / 1.453 GB, free: 94.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.414, allocations: 386.4 kB / 1.454 GB, free: 94.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7079/2.121, allocations: 417.4 MB / 1.861 GB, free: 235.4 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/2.123, allocations: 1.783 MB / 1.863 GB, free: 233.5 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001928/2.125, allocations: 0.7798 MB / 1.864 GB, free: 232.9 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/2.127, allocations: 1.142 MB / 1.865 GB, free: 231.7 MB / 1.123 GB Notification: Performance of SimCode: time 1.042e-06/2.127, allocations: 0 / 1.865 GB, free: 231.7 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.073/5.199, allocations: 110.5 MB / 1.973 GB, free: 122.3 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/5.199, allocations: 269.2 kB / 1.973 GB, free: 122 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/9.063, allocations: 0 / 1.973 GB, free: 122 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)