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.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.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.001292/0.001292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001246/0.001246, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.452/2.452, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 69.12 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005572/0.2372, allocations: 4.977 MB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1318/0.3691, allocations: 148.6 MB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.3698, allocations: 19.88 kB / 1.202 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.3705, allocations: 154.8 kB / 1.203 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.3723, allocations: 0.5079 MB / 1.203 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.374, allocations: 0.7462 MB / 1.204 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.3755, allocations: 1.456 MB / 1.205 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008118/0.3763, allocations: 0.5832 MB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.377, allocations: 0.5138 MB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.3776, allocations: 0.529 MB / 1.207 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.3779, allocations: 127.9 kB / 1.207 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00077/0.3786, allocations: 463.6 kB / 1.207 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.3789, allocations: 311 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005191/0.3794, allocations: 0.5868 MB / 1.208 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.3811, allocations: 1.647 MB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3811, allocations: 0 / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3811, allocations: 0 / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.437e-05/0.3811, allocations: 0 / 1.21 GB, free: 6.867 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.002732/0.3839, allocations: 1.485 MB / 1.211 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3839, allocations: 8.625 kB / 1.211 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.3841, allocations: 147.7 kB / 1.211 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009021/0.385, allocations: 187.3 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/0.386, allocations: 0.77 MB / 1.212 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.3861, allocations: 62 kB / 1.212 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3862, allocations: 84 kB / 1.212 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3877, allocations: 0.9691 MB / 1.213 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3877, allocations: 3.938 kB / 1.213 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.3878, allocations: 36 kB / 1.213 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.3878, allocations: 24 kB / 1.213 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.3895, allocations: 1.155 MB / 1.215 GB, free: 1.805 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.003971/0.3935, allocations: 2.884 MB / 1.217 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.395, allocations: 0.8485 MB / 1.218 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.3955, allocations: 326.7 kB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.629e-05/0.3956, allocations: 32.67 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008985/0.3965, allocations: 0.5353 MB / 1.219 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/0.3965, allocations: 0 / 1.219 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003159/0.3997, allocations: 1.29 MB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.3998, allocations: 200.8 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.4005, allocations: 0.6528 MB / 1.221 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.4006, allocations: 45.7 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.4008, allocations: 404.4 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.401, allocations: 283.9 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.4013, allocations: 166.5 kB / 1.222 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4014, allocations: 382.8 kB / 1.222 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.4019, allocations: 269.9 kB / 1.223 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.4025, allocations: 390.5 kB / 1.223 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4036, allocations: 0.6359 MB / 1.224 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4036, allocations: 0 / 1.224 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001871/0.4055, allocations: 0.8799 MB / 1.225 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4055, allocations: 7.938 kB / 1.225 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4055, allocations: 0 / 1.225 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.4061, allocations: 76.84 kB / 1.225 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.4067, allocations: 167.8 kB / 1.225 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.4086, allocations: 1.643 MB / 1.226 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.4094, allocations: 108.9 kB / 1.227 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.4094, allocations: 31.98 kB / 1.227 GB, free: 5.156 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.0003749/0.4098, allocations: 267.2 kB / 1.227 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.41, allocations: 90.91 kB / 1.227 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.4124, allocations: 1.171 MB / 1.228 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4125, allocations: 8 kB / 1.228 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4125, allocations: 4 kB / 1.228 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4125, allocations: 3.984 kB / 1.228 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009814/0.4135, allocations: 0.9385 MB / 1.229 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4135, allocations: 0 / 1.229 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.4141, allocations: 163.7 kB / 1.229 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/0.4145, allocations: 72.73 kB / 1.229 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.4146, allocations: 27.97 kB / 1.229 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.4163, allocations: 1.654 MB / 1.231 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4163, allocations: 0 / 1.231 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.4183, allocations: 1.002 MB / 1.232 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.4186, allocations: 283.7 kB / 1.232 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.4188, allocations: 31.84 kB / 1.232 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/0.4194, allocations: 63.92 kB / 1.232 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.4196, allocations: 76.89 kB / 1.232 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/0.4197, allocations: 39.97 kB / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005368/0.4202, allocations: 483 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4202, allocations: 0 / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007667/0.421, allocations: 331.3 kB / 1.233 GB, free: 14.22 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.003304/0.4243, allocations: 2.057 MB / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.4266, allocations: 1.077 MB / 1.236 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4266, allocations: 4 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.4275, allocations: 0.5549 MB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4286, allocations: 305 kB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.4395, allocations: 7.143 MB / 1.244 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.4401, allocations: 1.041 MB / 1.245 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008329/0.4409, allocations: 279 kB / 1.245 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.4414, allocations: 419.2 kB / 1.246 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4415, allocations: 0 / 1.246 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8302/1.272, allocations: 22.29 MB / 1.267 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.272, allocations: 325.4 kB / 1.268 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.727, allocations: 0 / 1.268 GB, free: 188.9 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)