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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008729/0.0008729, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005227/0.005227, allocations: 169 kB / 16.26 MB, free: 6.66 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.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.366/2.366, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8.188 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2492, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004831/0.2541, allocations: 4.51 MB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1385/0.3926, allocations: 146.7 MB / 1.206 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.3932, allocations: 23.81 kB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.3937, allocations: 150.8 kB / 1.207 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.3951, allocations: 486.9 kB / 1.207 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3967, allocations: 0.732 MB / 1.208 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.398, allocations: 1.327 MB / 1.209 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.3987, allocations: 0.5556 MB / 1.21 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.3991, allocations: 370.2 kB / 1.21 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.3996, allocations: 405.8 kB / 1.21 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.3997, allocations: 31.94 kB / 1.21 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.4003, allocations: 367.7 kB / 1.211 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.4005, allocations: 199 kB / 1.211 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.4008, allocations: 494.7 kB / 1.211 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.4021, allocations: 1.518 MB / 1.213 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4021, allocations: 0 / 1.213 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4021, allocations: 0 / 1.213 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4021, allocations: 0 / 1.213 GB, free: 6.461 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.002043/0.4041, allocations: 1.249 MB / 1.214 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.4042, allocations: 11.97 kB / 1.214 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.4043, allocations: 139.5 kB / 1.214 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008057/0.4051, allocations: 199.3 kB / 1.214 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009057/0.4061, allocations: 0.7545 MB / 1.215 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.4061, allocations: 66 kB / 1.215 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4062, allocations: 80 kB / 1.215 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.4077, allocations: 0.9612 MB / 1.216 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4077, allocations: 4 kB / 1.216 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/0.4078, allocations: 36 kB / 1.216 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.4078, allocations: 20 kB / 1.216 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.4094, allocations: 1.132 MB / 1.217 GB, free: 1.676 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.003542/0.413, allocations: 2.784 MB / 1.22 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.4144, allocations: 0.9233 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.415, allocations: 318.7 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.669e-05/0.4151, allocations: 28.69 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008171/0.4159, allocations: 0.5236 MB / 1.222 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 1.763e-06/0.4159, allocations: 0 / 1.222 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.002922/0.4188, allocations: 1.263 MB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.4189, allocations: 204.8 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.4196, allocations: 0.6371 MB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.4197, allocations: 45.7 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.42, allocations: 404.4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.4201, allocations: 260.2 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.4202, allocations: 69.67 kB / 1.225 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4204, allocations: 382.8 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.4209, allocations: 261.9 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.4215, allocations: 374.5 kB / 1.226 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.4225, allocations: 0.6086 MB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4225, allocations: 0 / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001709/0.4242, allocations: 0.8486 MB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4242, allocations: 9.969 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4243, allocations: 0 / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.4248, allocations: 88.83 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.4254, allocations: 159.7 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.4272, allocations: 1.52 MB / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.4279, allocations: 107.2 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.4279, allocations: 36.05 kB / 1.229 GB, free: 5.414 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.0003249/0.4282, allocations: 277.3 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4284, allocations: 82.97 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.4307, allocations: 1.144 MB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.4307, allocations: 11.98 kB / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4307, allocations: 0 / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4307, allocations: 11.92 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.4337, allocations: 2.02 MB / 1.232 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4337, allocations: 0 / 1.232 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.4342, allocations: 151.8 kB / 1.233 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.4347, allocations: 88.77 kB / 1.233 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.4348, allocations: 27.98 kB / 1.233 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.4364, allocations: 1.551 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4365, allocations: 3.984 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.4383, allocations: 1.062 MB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.4387, allocations: 295.6 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4388, allocations: 23.92 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/0.4395, allocations: 91.86 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.4396, allocations: 76.89 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/0.4397, allocations: 39.97 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004875/0.4402, allocations: 463 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4402, allocations: 0 / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006826/0.4409, allocations: 331.1 kB / 1.236 GB, free: 13.44 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.003185/0.4441, allocations: 2.105 MB / 1.239 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.4455, allocations: 0.8389 MB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4455, allocations: 0 / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008618/0.4464, allocations: 0.5434 MB / 1.24 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.4476, allocations: 285.6 kB / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.4579, allocations: 7.06 MB / 1.247 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.4584, allocations: 1.038 MB / 1.248 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007106/0.4591, allocations: 267 kB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.4597, allocations: 399.3 kB / 1.249 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.4597, allocations: 7.938 kB / 1.249 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.883/2.343, allocations: 20.86 MB / 1.269 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/2.343, allocations: 310.3 kB / 1.269 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/4.519, allocations: 0 / 1.269 GB, free: 184.9 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)