Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.0008584/0.0008584, allocations: 97.33 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.005127/0.005127, allocations: 169.8 kB / 16.27 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.37/2.37, allocations: 462.7 MB / 0.7364 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8.031 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2376, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004742/0.2423, allocations: 4.588 MB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1314/0.3737, allocations: 146.8 MB / 1.207 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006519/0.3744, allocations: 15.94 kB / 1.207 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.375, allocations: 150.8 kB / 1.207 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.3764, allocations: 483.9 kB / 1.207 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.3781, allocations: 0.7645 MB / 1.208 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3794, allocations: 1.374 MB / 1.209 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.3801, allocations: 0.5708 MB / 1.21 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.3805, allocations: 378.2 kB / 1.21 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.3809, allocations: 425.8 kB / 1.211 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.381, allocations: 28 kB / 1.211 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.3816, allocations: 387.6 kB / 1.211 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.3818, allocations: 203 kB / 1.211 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.3822, allocations: 0.4986 MB / 1.212 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3834, allocations: 1.577 MB / 1.213 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3834, allocations: 0 / 1.213 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3834, allocations: 0 / 1.213 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3835, allocations: 4 kB / 1.213 GB, free: 5.984 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001993/0.3854, allocations: 1.284 MB / 1.215 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.193e-05/0.3855, allocations: 11.97 kB / 1.215 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.3856, allocations: 143.8 kB / 1.215 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.3864, allocations: 203.3 kB / 1.215 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.3873, allocations: 0.7622 MB / 1.216 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.3873, allocations: 70 kB / 1.216 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3875, allocations: 87.98 kB / 1.216 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3889, allocations: 0.9808 MB / 1.217 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3889, allocations: 3.938 kB / 1.217 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.389, allocations: 36 kB / 1.217 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.389, allocations: 24 kB / 1.217 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.3907, allocations: 1.167 MB / 1.218 GB, free: 1.074 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.003693/0.3944, allocations: 2.944 MB / 1.221 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3962, allocations: 0.981 MB / 1.222 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.3968, allocations: 330.7 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.3968, allocations: 42.67 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007996/0.3977, allocations: 0.5354 MB / 1.223 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 3.176e-06/0.3977, allocations: 0 / 1.223 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.002947/0.4006, allocations: 1.321 MB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.4007, allocations: 196.9 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.4014, allocations: 0.6451 MB / 1.225 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.4015, allocations: 41.7 kB / 1.225 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.4017, allocations: 412.4 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.4019, allocations: 283.9 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.402, allocations: 65.67 kB / 1.226 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4021, allocations: 386.8 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.4027, allocations: 281.8 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.4032, allocations: 382.5 kB / 1.227 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.4043, allocations: 0.6399 MB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4043, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00174/0.406, allocations: 0.8799 MB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.4061, allocations: 4 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4061, allocations: 4 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005305/0.4066, allocations: 84.83 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.4072, allocations: 171.7 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.4089, allocations: 1.525 MB / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.4096, allocations: 121.2 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.4097, allocations: 31.97 kB / 1.23 GB, free: 4.371 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003239/0.41, allocations: 281.5 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4101, allocations: 86.97 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.4125, allocations: 1.203 MB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4125, allocations: 8 kB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4125, allocations: 0 / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4126, allocations: 7.922 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.4156, allocations: 2.106 MB / 1.234 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4156, allocations: 3.938 kB / 1.234 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.4162, allocations: 171.8 kB / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/0.4167, allocations: 84.77 kB / 1.234 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.4167, allocations: 27.98 kB / 1.234 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4183, allocations: 1.559 MB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4183, allocations: 0 / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.4202, allocations: 1.094 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.4205, allocations: 303.5 kB / 1.237 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4207, allocations: 27.98 kB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/0.4214, allocations: 91.86 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.4215, allocations: 80.89 kB / 1.237 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.4216, allocations: 43.97 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004883/0.4221, allocations: 475 kB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4221, allocations: 0 / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007365/0.4228, allocations: 343.3 kB / 1.238 GB, free: 12.15 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 (106): * Single equations (assignments): 99 * 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.003174/0.426, allocations: 2.169 MB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.4275, allocations: 0.8743 MB / 1.241 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4275, allocations: 4 kB / 1.241 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.4284, allocations: 0.5783 MB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4295, allocations: 278.9 kB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.4401, allocations: 7.267 MB / 1.249 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4114/0.8516, allocations: 1.04 MB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001047/0.8527, allocations: 273.7 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.8533, allocations: 413.3 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.8533, allocations: 0 / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.517/2.37, allocations: 21.54 MB / 1.271 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/2.37, allocations: 319.5 kB / 1.272 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/4.515, allocations: 0.5 kB / 1.272 GB, free: 183.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)