Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.0008578/0.0008578, allocations: 97.72 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.004854/0.004854, allocations: 169 kB / 16.26 MB, free: 6.652 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 8.312 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2305, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004483/0.235, allocations: 4.572 MB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1295/0.3645, allocations: 146.9 MB / 1.207 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.3652, allocations: 15.94 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.3657, allocations: 150.8 kB / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.3671, allocations: 0.4961 MB / 1.207 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3686, allocations: 0.7334 MB / 1.208 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3699, allocations: 1.354 MB / 1.209 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000738/0.3706, allocations: 0.5595 MB / 1.21 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.3712, allocations: 374.2 kB / 1.21 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005238/0.3717, allocations: 425.8 kB / 1.211 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-05/0.3718, allocations: 28 kB / 1.211 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.3724, allocations: 375.5 kB / 1.211 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3726, allocations: 199 kB / 1.211 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.3731, allocations: 0.4909 MB / 1.212 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.3744, allocations: 1.538 MB / 1.213 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3744, allocations: 0 / 1.213 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3744, allocations: 0 / 1.213 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.3745, allocations: 4 kB / 1.213 GB, free: 6.137 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002193/0.3767, allocations: 1.265 MB / 1.214 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3767, allocations: 12.03 kB / 1.214 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.3769, allocations: 143.7 kB / 1.215 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008188/0.3777, allocations: 199.4 kB / 1.215 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.3786, allocations: 0.7621 MB / 1.216 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.3787, allocations: 66 kB / 1.216 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3788, allocations: 88 kB / 1.216 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3803, allocations: 0.969 MB / 1.217 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3803, allocations: 0 / 1.217 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.3804, allocations: 40 kB / 1.217 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.3804, allocations: 20 kB / 1.217 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.3821, allocations: 1.167 MB / 1.218 GB, free: 1.27 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.003771/0.3859, allocations: 2.916 MB / 1.221 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.3873, allocations: 0.8524 MB / 1.222 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.3878, allocations: 330.7 kB / 1.222 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.988e-05/0.3879, allocations: 32.69 kB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008253/0.3887, allocations: 0.5354 MB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 3.136e-06/0.3887, allocations: 0 / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.00299/0.3917, allocations: 1.321 MB / 1.224 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.3918, allocations: 192.9 kB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.3925, allocations: 0.6528 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.3926, allocations: 45.7 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.3929, allocations: 404.4 kB / 1.225 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.3931, allocations: 287.8 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.3932, allocations: 69.69 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3933, allocations: 386.7 kB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.3938, allocations: 273.9 kB / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.3944, allocations: 394.5 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3955, allocations: 0.6437 MB / 1.227 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3955, allocations: 0 / 1.227 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001767/0.3972, allocations: 0.8761 MB / 1.228 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3973, allocations: 8 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3973, allocations: 3.938 kB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.3978, allocations: 84.83 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.3985, allocations: 171.8 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.4002, allocations: 1.526 MB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.4009, allocations: 111.3 kB / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.4009, allocations: 35.97 kB / 1.23 GB, free: 4.734 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 (97): * Single equations (assignments): 96 * 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.000338/0.4013, allocations: 273.4 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4014, allocations: 86.97 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.4038, allocations: 1.171 MB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4038, allocations: 8 kB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4038, allocations: 7.938 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4038, allocations: 11.97 kB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.4047, allocations: 0.9423 MB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4047, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.4053, allocations: 159.7 kB / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/0.4058, allocations: 92.75 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.4059, allocations: 23.98 kB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.4075, allocations: 1.544 MB / 1.234 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4075, allocations: 3.938 kB / 1.234 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.4093, allocations: 1.002 MB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.4097, allocations: 307.5 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.4098, allocations: 16 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.4104, allocations: 95.52 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4106, allocations: 76.89 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.4107, allocations: 39.97 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000512/0.4112, allocations: 483 kB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4112, allocations: 0 / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006717/0.4119, allocations: 327.2 kB / 1.236 GB, free: 13.85 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.003155/0.415, allocations: 2.071 MB / 1.238 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.4165, allocations: 0.8665 MB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4165, allocations: 3.938 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008668/0.4174, allocations: 0.5511 MB / 1.24 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4185, allocations: 282.8 kB / 1.24 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.429, allocations: 7.204 MB / 1.247 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.4295, allocations: 1.032 MB / 1.248 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007548/0.4303, allocations: 275.1 kB / 1.248 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.4308, allocations: 407.3 kB / 1.248 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.4308, allocations: 0 / 1.248 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.068/5.499, allocations: 21.34 MB / 1.269 GB, free: 185 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/5.499, allocations: 330.3 kB / 1.27 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/8.333, allocations: 3.156 kB / 1.27 GB, free: 184.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)