Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.0009967/0.0009968, allocations: 108 kB / 15.61 MB, free: 152 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.001005/0.001005, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.447/2.447, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 61.8 kB / 0.8992 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2454, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006288/0.2517, allocations: 4.935 MB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1372/0.3889, allocations: 150.6 MB / 1.205 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007055/0.3897, allocations: 15.94 kB / 1.205 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.3903, allocations: 194.1 kB / 1.205 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.3921, allocations: 0.5579 MB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.3939, allocations: 0.8436 MB / 1.206 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.3953, allocations: 1.413 MB / 1.208 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.3961, allocations: 0.5909 MB / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.3967, allocations: 0.4944 MB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004951/0.3972, allocations: 0.5188 MB / 1.209 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.3973, allocations: 116 kB / 1.209 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.398, allocations: 463.6 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.3983, allocations: 307.1 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.3987, allocations: 0.5713 MB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.4, allocations: 1.624 MB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4001, allocations: 0 / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4001, allocations: 0 / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.4001, allocations: 0 / 1.212 GB, free: 4.383 MB / 0.9669 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.00221/0.4023, allocations: 1.463 MB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4023, allocations: 12.62 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.4025, allocations: 143.5 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008302/0.4033, allocations: 183.4 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.4042, allocations: 0.7583 MB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.4043, allocations: 66 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.4044, allocations: 88 kB / 1.215 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.4058, allocations: 0.9379 MB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4058, allocations: 3.938 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.4059, allocations: 36 kB / 1.216 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.4059, allocations: 20 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.4076, allocations: 1.124 MB / 1.217 GB, free: 15.42 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.411, allocations: 2.763 MB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.4124, allocations: 0.9121 MB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.413, allocations: 310.7 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.413, allocations: 44.47 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007998/0.4139, allocations: 0.5132 MB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.4139, allocations: 0 / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003039/0.4169, allocations: 1.251 MB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.417, allocations: 188.9 kB / 1.223 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.4177, allocations: 0.6488 MB / 1.223 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.4178, allocations: 45.7 kB / 1.224 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.418, allocations: 392.5 kB / 1.224 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.4182, allocations: 276.1 kB / 1.224 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.4184, allocations: 150.5 kB / 1.224 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4186, allocations: 390.7 kB / 1.225 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.4191, allocations: 253.9 kB / 1.225 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.4196, allocations: 374.5 kB / 1.225 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4207, allocations: 0.6008 MB / 1.226 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4207, allocations: 0 / 1.226 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00175/0.4224, allocations: 0.8253 MB / 1.227 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4224, allocations: 7.938 kB / 1.227 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4225, allocations: 4 kB / 1.227 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.423, allocations: 84.86 kB / 1.227 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.4237, allocations: 159.7 kB / 1.227 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.4256, allocations: 1.625 MB / 1.229 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.4262, allocations: 95.38 kB / 1.229 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.4263, allocations: 31.97 kB / 1.229 GB, free: 3.055 MB / 0.9825 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.0003279/0.4266, allocations: 263.2 kB / 1.229 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.4268, allocations: 94.86 kB / 1.229 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.4291, allocations: 1.14 MB / 1.23 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.4291, allocations: 15.94 kB / 1.23 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.4291, allocations: 0 / 1.23 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.4291, allocations: 7.969 kB / 1.23 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.432, allocations: 2.012 MB / 1.232 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4321, allocations: 0 / 1.232 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.4326, allocations: 159.7 kB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/0.4331, allocations: 76.72 kB / 1.232 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.4331, allocations: 27.97 kB / 1.232 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.4348, allocations: 1.666 MB / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4348, allocations: 0 / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.4366, allocations: 1.043 MB / 1.235 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.437, allocations: 283.7 kB / 1.235 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.4371, allocations: 16 kB / 1.235 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.4378, allocations: 71.98 kB / 1.235 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.4379, allocations: 80.89 kB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/0.438, allocations: 35.98 kB / 1.235 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004818/0.4385, allocations: 467 kB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4385, allocations: 0 / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007299/0.4392, allocations: 327.2 kB / 1.236 GB, free: 11.04 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,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.003192/0.4424, allocations: 2.096 MB / 1.238 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.4446, allocations: 1.05 MB / 1.239 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4446, allocations: 0 / 1.239 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.4455, allocations: 0.5432 MB / 1.24 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4466, allocations: 303.7 kB / 1.24 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009096/0.4557, allocations: 6.62 MB / 1.247 GB, free: 436 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3777/0.8334, allocations: 1.033 MB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009848/0.8345, allocations: 266.1 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.835, allocations: 407.8 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.835, allocations: 0 / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.676/2.511, allocations: 22.01 MB / 1.27 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/15.7, allocations: 4.781 kB / 1.27 GB, free: 187.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)