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.001308/0.001308, 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.001367/0.001367, 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.443/2.443, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 61.78 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2346, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005784/0.2404, allocations: 5.024 MB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.3662, allocations: 148.5 MB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007355/0.367, allocations: 19.88 kB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.3676, allocations: 154.8 kB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3692, allocations: 0.501 MB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3709, allocations: 0.7854 MB / 1.204 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.3723, allocations: 1.468 MB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007631/0.373, allocations: 0.5945 MB / 1.206 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.3737, allocations: 0.5138 MB / 1.206 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.3743, allocations: 0.5446 MB / 1.207 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.3745, allocations: 120 kB / 1.207 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007603/0.3752, allocations: 491.6 kB / 1.207 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.3755, allocations: 311 kB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.376, allocations: 0.5946 MB / 1.208 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.3775, allocations: 1.679 MB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3775, allocations: 0 / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3775, allocations: 3.938 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.3775, allocations: 0 / 1.21 GB, free: 6.754 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.002569/0.3801, allocations: 1.499 MB / 1.211 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3802, allocations: 12.62 kB / 1.211 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.3803, allocations: 147.8 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000847/0.3812, allocations: 195.3 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.3821, allocations: 0.7621 MB / 1.212 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.3822, allocations: 70 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.886e-05/0.3823, allocations: 88 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3837, allocations: 0.9769 MB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3838, allocations: 0 / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.3839, allocations: 36 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.3839, allocations: 24 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.3855, allocations: 1.155 MB / 1.215 GB, free: 1.656 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.003835/0.3894, allocations: 2.92 MB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.3913, allocations: 0.9856 MB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.3918, allocations: 326.7 kB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.3919, allocations: 38.66 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008559/0.3927, allocations: 0.5314 MB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/0.3928, allocations: 4 kB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003034/0.3958, allocations: 1.302 MB / 1.221 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.3959, allocations: 188.9 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.3966, allocations: 0.6528 MB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.3966, allocations: 41.7 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.3969, allocations: 408.5 kB / 1.222 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.3971, allocations: 287.8 kB / 1.222 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3973, allocations: 162.5 kB / 1.222 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3975, allocations: 394.7 kB / 1.223 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/0.3979, allocations: 261.9 kB / 1.223 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.3985, allocations: 390.5 kB / 1.223 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3995, allocations: 0.6242 MB / 1.224 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3995, allocations: 0 / 1.224 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001809/0.4014, allocations: 0.8682 MB / 1.225 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4014, allocations: 9.812 kB / 1.225 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4014, allocations: 4 kB / 1.225 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.402, allocations: 76.78 kB / 1.225 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.4026, allocations: 171.8 kB / 1.225 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.4153, allocations: 1.639 MB / 1.227 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.4165, allocations: 99.22 kB / 1.227 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.966e-05/0.4166, allocations: 44.03 kB / 1.227 GB, free: 4.824 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.0004307/0.417, allocations: 265 kB / 1.227 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.4172, allocations: 90.91 kB / 1.227 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.4197, allocations: 1.195 MB / 1.228 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4198, allocations: 16 kB / 1.228 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4198, allocations: 0 / 1.228 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.4198, allocations: 3.984 kB / 1.228 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.423, allocations: 2.102 MB / 1.23 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.423, allocations: 0 / 1.23 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.4236, allocations: 167.7 kB / 1.231 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/0.4241, allocations: 76.77 kB / 1.231 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.4241, allocations: 35.97 kB / 1.231 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.4258, allocations: 1.65 MB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4258, allocations: 4.031 kB / 1.232 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.4278, allocations: 1.09 MB / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.4282, allocations: 287.6 kB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.4283, allocations: 24.06 kB / 1.234 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/0.4291, allocations: 77.97 kB / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.4292, allocations: 88.81 kB / 1.234 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.4293, allocations: 39.98 kB / 1.234 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005234/0.4298, allocations: 471 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4299, allocations: 0 / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008317/0.4307, allocations: 351.2 kB / 1.235 GB, free: 12.56 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.004069/0.4348, allocations: 2.166 MB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004174/0.439, allocations: 1.101 MB / 1.238 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.439, allocations: 0 / 1.238 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.4405, allocations: 0.5627 MB / 1.238 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.4425, allocations: 301.7 kB / 1.239 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.4571, allocations: 7.232 MB / 1.246 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.4577, allocations: 1.045 MB / 1.247 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.3809/0.8386, allocations: 272.6 kB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/0.8392, allocations: 414 kB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.51e-07/0.8392, allocations: 0.875 kB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4376/1.277, allocations: 22.49 MB / 1.269 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.277, allocations: 313.6 kB / 1.27 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.161, allocations: 1.969 kB / 1.27 GB, free: 186.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)