Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_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.00117/0.00117, 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.001128/0.001128, allocations: 191 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.158/1.158, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.189/2.189, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 0.8688 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.46, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005637/0.4657, allocations: 4.938 MB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1279/0.5936, allocations: 148.4 MB / 1.167 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.5944, allocations: 15.88 kB / 1.167 GB, free: 8.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006586/0.5951, allocations: 154.8 kB / 1.167 GB, free: 8.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.5967, allocations: 0.4973 MB / 1.167 GB, free: 8.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.5983, allocations: 0.7688 MB / 1.168 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.5997, allocations: 1.417 MB / 1.169 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.6004, allocations: 0.5793 MB / 1.17 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.601, allocations: 0.506 MB / 1.171 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.6015, allocations: 0.5173 MB / 1.171 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.6017, allocations: 120 kB / 1.171 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.6024, allocations: 459.6 kB / 1.172 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.6026, allocations: 307 kB / 1.172 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.6031, allocations: 0.5752 MB / 1.172 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.6046, allocations: 1.628 MB / 1.174 GB, free: 1.199 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6046, allocations: 7.984 kB / 1.174 GB, free: 1.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6046, allocations: 0 / 1.174 GB, free: 1.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.6047, allocations: 0 / 1.174 GB, free: 1.191 MB / 0.92 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.00242/0.6071, allocations: 1.463 MB / 1.175 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.6071, allocations: 8.031 kB / 1.175 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.6073, allocations: 135.5 kB / 1.176 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.6081, allocations: 195.4 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.609, allocations: 0.7467 MB / 1.176 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.6091, allocations: 73.92 kB / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/0.6092, allocations: 80 kB / 1.177 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.6106, allocations: 0.9418 MB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.6106, allocations: 0 / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.6107, allocations: 36 kB / 1.178 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.6107, allocations: 27.98 kB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.6123, allocations: 1.124 MB / 1.179 GB, free: 12.21 MB / 0.9356 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.003384/0.6157, allocations: 2.751 MB / 1.181 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.6171, allocations: 0.9034 MB / 1.182 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.6175, allocations: 318.7 kB / 1.183 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.6176, allocations: 32.67 kB / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008264/0.6185, allocations: 0.512 MB / 1.183 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.893e-06/0.6185, allocations: 0 / 1.183 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.002902/0.6214, allocations: 1.259 MB / 1.184 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.6215, allocations: 196.9 kB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.6221, allocations: 0.6371 MB / 1.185 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.6222, allocations: 49.7 kB / 1.185 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.6224, allocations: 400.4 kB / 1.186 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.6226, allocations: 272 kB / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.6229, allocations: 158.5 kB / 1.186 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.623, allocations: 386.8 kB / 1.186 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.6234, allocations: 253.9 kB / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.624, allocations: 378.5 kB / 1.187 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.625, allocations: 0.5969 MB / 1.188 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.625, allocations: 3.938 kB / 1.188 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001695/0.6267, allocations: 0.8253 MB / 1.188 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6267, allocations: 12.03 kB / 1.188 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6267, allocations: 0 / 1.188 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.6273, allocations: 84.77 kB / 1.188 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.6279, allocations: 159.7 kB / 1.189 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.6298, allocations: 1.636 MB / 1.19 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.6304, allocations: 87.33 kB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.6304, allocations: 36.03 kB / 1.19 GB, free: 15.86 MB / 0.9512 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.0003103/0.6308, allocations: 269.6 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.6309, allocations: 82.97 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.6332, allocations: 1.148 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.6332, allocations: 8 kB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.6332, allocations: 0 / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.6332, allocations: 3.984 kB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.6361, allocations: 2.02 MB / 1.194 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6361, allocations: 4 kB / 1.194 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.6367, allocations: 163.7 kB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004075/0.6371, allocations: 68.8 kB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/0.6371, allocations: 27.97 kB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.6388, allocations: 1.662 MB / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6388, allocations: 0 / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.6406, allocations: 1.039 MB / 1.197 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.6409, allocations: 295.5 kB / 1.197 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6411, allocations: 27.98 kB / 1.197 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.6417, allocations: 67.92 kB / 1.197 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6419, allocations: 76.89 kB / 1.197 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.6419, allocations: 31.98 kB / 1.197 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004605/0.6424, allocations: 471 kB / 1.198 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6424, allocations: 0 / 1.198 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006978/0.6431, allocations: 323.3 kB / 1.198 GB, free: 7.836 MB / 0.9512 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.003109/0.6462, allocations: 2.105 MB / 1.2 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.6483, allocations: 1.054 MB / 1.201 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6483, allocations: 4 kB / 1.201 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.6491, allocations: 0.5276 MB / 1.201 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6502, allocations: 309.7 kB / 1.202 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.6605, allocations: 7.01 MB / 1.209 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.6611, allocations: 1.036 MB / 1.21 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008806/0.662, allocations: 278.9 kB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/0.6625, allocations: 407.3 kB / 1.21 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of SimCode: time 2.205e-06/0.6625, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.34/3.003, allocations: 21.79 MB / 1.232 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/3.003, allocations: 311.7 kB / 1.232 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/5.12, allocations: 0 / 1.232 GB, free: 5.332 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)