Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_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.001601/0.001601, 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.001732/0.001732, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.259/1.259, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.446/2.446, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 60.42 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.239, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005395/0.2445, allocations: 4.825 MB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.377, allocations: 148.4 MB / 1.202 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007693/0.3778, allocations: 15.94 kB / 1.202 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.3785, allocations: 146.8 kB / 1.202 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.3802, allocations: 484.6 kB / 1.203 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.382, allocations: 0.7484 MB / 1.203 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3835, allocations: 1.374 MB / 1.205 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.3844, allocations: 0.5869 MB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.385, allocations: 490.3 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.3856, allocations: 0.4978 MB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.3858, allocations: 120 kB / 1.206 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007824/0.3866, allocations: 463.6 kB / 1.207 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.3869, allocations: 295.1 kB / 1.207 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.3875, allocations: 0.5636 MB / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.3892, allocations: 1.608 MB / 1.209 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3892, allocations: 0 / 1.209 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3892, allocations: 0 / 1.209 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.3892, allocations: 0 / 1.209 GB, free: 7.477 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002666/0.3919, allocations: 1.422 MB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.392, allocations: 12.62 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.3921, allocations: 139.4 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/0.393, allocations: 179.4 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3941, allocations: 0.742 MB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.3941, allocations: 69.92 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/0.3942, allocations: 80 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3957, allocations: 0.9184 MB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3958, allocations: 3.938 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.3958, allocations: 36 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.3959, allocations: 28 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.3976, allocations: 1.104 MB / 1.214 GB, free: 2.613 MB / 0.9669 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.00382/0.4014, allocations: 2.733 MB / 1.216 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.4029, allocations: 0.888 MB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.4034, allocations: 306.6 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.583e-05/0.4035, allocations: 28.61 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008696/0.4044, allocations: 0.4951 MB / 1.218 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/0.4044, allocations: 0 / 1.218 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002944/0.4074, allocations: 1.19 MB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/0.4075, allocations: 192.6 kB / 1.219 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.4082, allocations: 0.6292 MB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.4083, allocations: 37.7 kB / 1.22 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.4085, allocations: 392.4 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.4087, allocations: 260.3 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.409, allocations: 138.6 kB / 1.221 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4091, allocations: 386.7 kB / 1.221 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.4096, allocations: 249.9 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.4102, allocations: 358.6 kB / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.4112, allocations: 0.5799 MB / 1.222 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4112, allocations: 4 kB / 1.222 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001757/0.413, allocations: 0.798 MB / 1.223 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.413, allocations: 15.92 kB / 1.223 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.413, allocations: 0 / 1.223 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.4136, allocations: 84.81 kB / 1.223 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.4142, allocations: 143.8 kB / 1.223 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2484/0.6625, allocations: 1.648 MB / 1.225 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008756/0.6635, allocations: 101.1 kB / 1.225 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.6636, allocations: 35.98 kB / 1.225 GB, free: 6.504 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.000428/0.664, allocations: 265.6 kB / 1.225 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.6642, allocations: 83.05 kB / 1.226 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.6664, allocations: 1.061 MB / 1.227 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.6664, allocations: 11.94 kB / 1.227 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.6664, allocations: 0 / 1.227 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6664, allocations: 7.984 kB / 1.227 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.6693, allocations: 1.958 MB / 1.228 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6693, allocations: 0 / 1.228 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.6698, allocations: 147.8 kB / 1.229 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.6702, allocations: 72.77 kB / 1.229 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.6703, allocations: 27.98 kB / 1.229 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.672, allocations: 1.681 MB / 1.23 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.672, allocations: 0 / 1.23 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.6738, allocations: 0.9883 MB / 1.231 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.6742, allocations: 271.7 kB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.6743, allocations: 23.98 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.6749, allocations: 67.88 kB / 1.232 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.675, allocations: 68.89 kB / 1.232 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.6751, allocations: 35.98 kB / 1.232 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004839/0.6756, allocations: 455 kB / 1.232 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6756, allocations: 0 / 1.232 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007394/0.6764, allocations: 315.2 kB / 1.232 GB, free: 14.73 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003155/0.6795, allocations: 2.044 MB / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.6816, allocations: 0.9952 MB / 1.235 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6816, allocations: 4.188 kB / 1.235 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008037/0.6824, allocations: 0.5119 MB / 1.236 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6835, allocations: 309.5 kB / 1.236 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.6937, allocations: 6.776 MB / 1.243 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.6943, allocations: 1.024 MB / 1.244 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007663/0.695, allocations: 266.6 kB / 1.244 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.6955, allocations: 367.3 kB / 1.244 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.6955, allocations: 0 / 1.244 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.248/1.944, allocations: 21.14 MB / 1.265 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/1.944, allocations: 303.8 kB / 1.265 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/4.359, allocations: 3.344 kB / 1.265 GB, free: 190.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)