Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.004005/0.004005, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.0009659/0.0009659, allocations: 188 kB / 16.67 MB, free: 5.977 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.375/2.375, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 66.44 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.245, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00591/0.251, allocations: 4.42 MB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.3909, allocations: 150.6 MB / 1.239 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.3916, allocations: 15.94 kB / 1.239 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.3923, allocations: 174.3 kB / 1.239 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.3941, allocations: 0.5145 MB / 1.24 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.396, allocations: 0.8531 MB / 1.24 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.3974, allocations: 1.336 MB / 1.242 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009099/0.3983, allocations: 0.6295 MB / 1.242 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.399, allocations: 494.3 kB / 1.243 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.3996, allocations: 0.5055 MB / 1.243 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.3998, allocations: 120 kB / 1.243 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009085/0.4007, allocations: 487.6 kB / 1.244 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.4011, allocations: 307 kB / 1.244 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.4017, allocations: 0.5557 MB / 1.245 GB, free: 448 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.4037, allocations: 1.64 MB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4038, allocations: 4 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4038, allocations: 0 / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.635e-05/0.4038, allocations: 4 kB / 1.246 GB, free: 14.79 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002929/0.4067, allocations: 1.44 MB / 1.248 GB, free: 13.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4068, allocations: 12.03 kB / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.407, allocations: 135.5 kB / 1.248 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/0.408, allocations: 191.4 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4092, allocations: 0.7894 MB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.4093, allocations: 62 kB / 1.249 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.4094, allocations: 84 kB / 1.249 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.411, allocations: 0.9379 MB / 1.25 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.411, allocations: 4 kB / 1.25 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/0.4111, allocations: 32 kB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4111, allocations: 20 kB / 1.25 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.4129, allocations: 1.136 MB / 1.251 GB, free: 9.809 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.4168, allocations: 2.511 MB / 1.253 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.4184, allocations: 0.9044 MB / 1.254 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.419, allocations: 314.7 kB / 1.255 GB, free: 5.996 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/0.4191, allocations: 28.69 kB / 1.255 GB, free: 5.965 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/0.4199, allocations: 0.5159 MB / 1.255 GB, free: 5.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.796e-06/0.4199, allocations: 0 / 1.255 GB, free: 5.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.00318/0.4231, allocations: 1.247 MB / 1.256 GB, free: 4.156 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.4232, allocations: 192.9 kB / 1.257 GB, free: 3.926 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.4241, allocations: 0.6332 MB / 1.257 GB, free: 3.289 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.4241, allocations: 49.7 kB / 1.257 GB, free: 3.234 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.4244, allocations: 400.4 kB / 1.258 GB, free: 2.836 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.4247, allocations: 272 kB / 1.258 GB, free: 2.566 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.4249, allocations: 154.5 kB / 1.258 GB, free: 2.406 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.425, allocations: 386.8 kB / 1.258 GB, free: 2.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.4256, allocations: 261.8 kB / 1.259 GB, free: 1.766 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.4262, allocations: 370.5 kB / 1.259 GB, free: 1.375 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.4273, allocations: 0.6085 MB / 1.26 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.4273, allocations: 0 / 1.26 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.4604/0.8878, allocations: 0.8157 MB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.8878, allocations: 14.8 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8878, allocations: 1.125 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.8884, allocations: 81.14 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.8892, allocations: 159.6 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.891, allocations: 1.625 MB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.8917, allocations: 95.7 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.8918, allocations: 31.81 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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,decAng.tNext,$PRE.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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * 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.000393/0.8922, allocations: 270 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.8924, allocations: 87.44 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.8949, allocations: 1.132 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.8949, allocations: 12.88 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.895, allocations: 1.594 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.895, allocations: 6.281 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.8983, allocations: 2.025 MB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.8983, allocations: 3.703 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.8989, allocations: 155.4 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.8993, allocations: 71.95 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.8994, allocations: 27.33 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.9009, allocations: 1.658 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9009, allocations: 3.938 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.9029, allocations: 1.043 MB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.9033, allocations: 290.4 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.9034, allocations: 19.44 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.9041, allocations: 66.88 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.9043, allocations: 77.97 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/0.9044, allocations: 39.12 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005336/0.9049, allocations: 467.1 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9049, allocations: 0 / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008543/0.9058, allocations: 312.7 kB / 1.27 GB, free: 168.8 MB / 1.014 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * 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.003382/0.9092, allocations: 2.108 MB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.9109, allocations: 0.8236 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9109, allocations: 5.094 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.9119, allocations: 0.5398 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.9132, allocations: 302.6 kB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.9236, allocations: 6.486 MB / 1.28 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.9241, allocations: 1.035 MB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007658/0.9249, allocations: 276.7 kB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.9253, allocations: 402 kB / 1.282 GB, free: 162.7 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/0.9253, allocations: 1.344 kB / 1.282 GB, free: 162.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5616/1.487, allocations: 21.86 MB / 1.303 GB, free: 155.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.98, allocations: 14.58 kB / 1.303 GB, free: 155.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)