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.001224/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001133/0.001133, allocations: 198.6 kB / 16.14 MB, free: 6.645 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.338/2.338, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 62.44 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2188, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005588/0.2244, allocations: 5.008 MB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.3501, allocations: 148.4 MB / 1.202 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006533/0.3508, allocations: 19.88 kB / 1.202 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.3514, allocations: 154.8 kB / 1.202 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.3529, allocations: 493.8 kB / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3545, allocations: 0.7672 MB / 1.203 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.3557, allocations: 1.366 MB / 1.205 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.3564, allocations: 0.5863 MB / 1.205 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.357, allocations: 454.2 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.3574, allocations: 0.5055 MB / 1.206 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3576, allocations: 60 kB / 1.206 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.3582, allocations: 427.6 kB / 1.207 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.3585, allocations: 247 kB / 1.207 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.3589, allocations: 0.5322 MB / 1.207 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.3601, allocations: 1.632 MB / 1.209 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3601, allocations: 0 / 1.209 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.61e-07/0.3601, allocations: 0 / 1.209 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.3602, allocations: 0 / 1.209 GB, free: 6.941 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.002361/0.3625, allocations: 1.499 MB / 1.211 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3626, allocations: 8.031 kB / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.3627, allocations: 147.7 kB / 1.211 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008241/0.3635, allocations: 191.3 kB / 1.211 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008827/0.3644, allocations: 0.7699 MB / 1.212 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.3645, allocations: 66 kB / 1.212 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.3646, allocations: 95.98 kB / 1.212 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3661, allocations: 0.973 MB / 1.213 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3661, allocations: 0 / 1.213 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.3662, allocations: 36 kB / 1.213 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3662, allocations: 20 kB / 1.213 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.3678, allocations: 1.159 MB / 1.214 GB, free: 1.84 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.003682/0.3715, allocations: 2.915 MB / 1.217 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.3734, allocations: 0.9871 MB / 1.218 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.3739, allocations: 322.7 kB / 1.218 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.71e-05/0.374, allocations: 38.73 kB / 1.218 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/0.3749, allocations: 0.5353 MB / 1.219 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 1.994e-06/0.3749, allocations: 3.938 kB / 1.219 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.002997/0.3779, allocations: 1.298 MB / 1.22 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.378, allocations: 196.9 kB / 1.22 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006539/0.3786, allocations: 0.649 MB / 1.221 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.3787, allocations: 41.7 kB / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.3789, allocations: 408.5 kB / 1.221 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.3791, allocations: 287.8 kB / 1.221 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.3793, allocations: 154.5 kB / 1.222 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3795, allocations: 398.7 kB / 1.222 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.38, allocations: 265.9 kB / 1.222 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.3806, allocations: 386.5 kB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3816, allocations: 0.6281 MB / 1.223 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3816, allocations: 0 / 1.223 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001794/0.3834, allocations: 0.8643 MB / 1.224 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3835, allocations: 8 kB / 1.224 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3835, allocations: 96 / 1.224 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/0.384, allocations: 80.78 kB / 1.224 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.3846, allocations: 175.8 kB / 1.224 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.3863, allocations: 1.522 MB / 1.226 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.387, allocations: 107.3 kB / 1.226 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.3871, allocations: 35.97 kB / 1.226 GB, free: 5.141 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.0003193/0.3874, allocations: 267.4 kB / 1.226 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3876, allocations: 90.95 kB / 1.226 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.3899, allocations: 1.199 MB / 1.227 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3899, allocations: 15.98 kB / 1.227 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.39, allocations: 0 / 1.227 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.39, allocations: 3.984 kB / 1.227 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.3929, allocations: 2.098 MB / 1.229 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3929, allocations: 0 / 1.229 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.3935, allocations: 171.7 kB / 1.23 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/0.394, allocations: 80.78 kB / 1.23 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.3941, allocations: 31.91 kB / 1.23 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.3956, allocations: 1.544 MB / 1.231 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3957, allocations: 0 / 1.231 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.3975, allocations: 1.09 MB / 1.232 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.3979, allocations: 291.6 kB / 1.233 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.398, allocations: 24.06 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.3987, allocations: 75.86 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3988, allocations: 80.88 kB / 1.233 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/0.3989, allocations: 43.97 kB / 1.233 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004844/0.3994, allocations: 471 kB / 1.233 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3994, allocations: 0 / 1.233 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006982/0.4001, allocations: 347.2 kB / 1.234 GB, free: 12.99 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.003235/0.4033, allocations: 2.172 MB / 1.236 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.4048, allocations: 0.8625 MB / 1.237 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4048, allocations: 3.938 kB / 1.237 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008724/0.4057, allocations: 0.5667 MB / 1.237 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4068, allocations: 274.1 kB / 1.237 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.417, allocations: 7.218 MB / 1.244 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.4175, allocations: 1.048 MB / 1.245 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007259/0.4182, allocations: 271.1 kB / 1.246 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.4187, allocations: 411.3 kB / 1.246 GB, free: 120 kB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.4187, allocations: 3.938 kB / 1.246 GB, free: 116 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9952/1.414, allocations: 21.85 MB / 1.267 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.414, allocations: 325.3 kB / 1.268 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.542, allocations: 0 / 1.268 GB, free: 186.5 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)