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.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.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.001034/0.001034, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 65.2 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2366, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005907/0.2425, allocations: 5.017 MB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.3773, allocations: 150.7 MB / 1.205 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/0.378, allocations: 19.94 kB / 1.205 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.3785, allocations: 198.1 kB / 1.205 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3799, allocations: 0.5622 MB / 1.206 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.3815, allocations: 0.8787 MB / 1.207 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.3825, allocations: 1.46 MB / 1.208 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.3832, allocations: 0.6023 MB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.3837, allocations: 0.51 MB / 1.209 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.3842, allocations: 0.5368 MB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.3844, allocations: 120 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006719/0.385, allocations: 495.6 kB / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.3853, allocations: 311 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.3857, allocations: 0.5946 MB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3871, allocations: 1.679 MB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3871, allocations: 0 / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3871, allocations: 0 / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3872, allocations: 3.938 kB / 1.213 GB, free: 3.938 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.002265/0.3894, allocations: 1.491 MB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3895, allocations: 12.62 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.3896, allocations: 143.7 kB / 1.214 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.3904, allocations: 195.3 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008686/0.3913, allocations: 0.7699 MB / 1.215 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.3914, allocations: 70 kB / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3915, allocations: 84 kB / 1.215 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.3929, allocations: 0.9808 MB / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3929, allocations: 0 / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.393, allocations: 40 kB / 1.216 GB, free: 16 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.393, allocations: 20.05 kB / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.3946, allocations: 1.155 MB / 1.218 GB, free: 14.84 MB / 0.9825 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.003661/0.3983, allocations: 2.93 MB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.4001, allocations: 0.9777 MB / 1.221 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.4007, allocations: 322.7 kB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-05/0.4007, allocations: 38.73 kB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007739/0.4015, allocations: 0.5353 MB / 1.222 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 1.954e-06/0.4015, allocations: 0 / 1.222 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.002928/0.4045, allocations: 1.29 MB / 1.224 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.4046, allocations: 204.8 kB / 1.224 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006579/0.4052, allocations: 0.6451 MB / 1.224 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.4053, allocations: 45.69 kB / 1.224 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.4055, allocations: 408.5 kB / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.4057, allocations: 279.8 kB / 1.225 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.4059, allocations: 166.5 kB / 1.225 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4061, allocations: 390.7 kB / 1.226 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.4066, allocations: 269.9 kB / 1.226 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.4071, allocations: 386.5 kB / 1.226 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.4082, allocations: 0.6281 MB / 1.227 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4082, allocations: 0 / 1.227 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001749/0.4099, allocations: 0.8605 MB / 1.228 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.41, allocations: 13.23 kB / 1.228 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.41, allocations: 4 kB / 1.228 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.4105, allocations: 80.78 kB / 1.228 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.4111, allocations: 167.8 kB / 1.228 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1974/0.6085, allocations: 1.636 MB / 1.23 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6097, allocations: 107.2 kB / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.6097, allocations: 40.03 kB / 1.23 GB, free: 2.016 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.0004729/0.6102, allocations: 269 kB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.6104, allocations: 82.97 kB / 1.23 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.6133, allocations: 1.203 MB / 1.231 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.6133, allocations: 12 kB / 1.231 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6134, allocations: 7.922 kB / 1.231 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.6134, allocations: 3.984 kB / 1.231 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.6164, allocations: 2.094 MB / 1.233 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6164, allocations: 0 / 1.233 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.617, allocations: 171.7 kB / 1.233 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.6174, allocations: 68.8 kB / 1.233 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.6175, allocations: 31.97 kB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.6191, allocations: 1.662 MB / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6191, allocations: 0 / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.621, allocations: 1.086 MB / 1.236 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.6213, allocations: 283.6 kB / 1.236 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.6214, allocations: 32.05 kB / 1.236 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/0.6221, allocations: 72.06 kB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6222, allocations: 88.81 kB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.6223, allocations: 35.97 kB / 1.237 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004796/0.6228, allocations: 475 kB / 1.237 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6228, allocations: 0 / 1.237 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007507/0.6236, allocations: 351.2 kB / 1.237 GB, free: 9.758 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.003237/0.6268, allocations: 2.161 MB / 1.24 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.6291, allocations: 1.108 MB / 1.241 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6291, allocations: 0 / 1.241 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/0.63, allocations: 0.5588 MB / 1.241 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6311, allocations: 305.8 kB / 1.241 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3761/1.007, allocations: 6.802 MB / 1.248 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/1.008, allocations: 1.046 MB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008799/1.009, allocations: 281.6 kB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/1.009, allocations: 408.1 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.009, allocations: 0.9375 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4456/1.455, allocations: 22.69 MB / 1.272 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.54, allocations: 7.109 kB / 1.272 GB, free: 185.4 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)