Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.0008304/0.0008303, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004973/0.004973, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.374/2.374, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 6.656 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2245, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004476/0.229, allocations: 4.537 MB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1292/0.3582, allocations: 146.7 MB / 1.206 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000585/0.3588, allocations: 19.88 kB / 1.207 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.3593, allocations: 154.8 kB / 1.207 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.3606, allocations: 477 kB / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3621, allocations: 0.743 MB / 1.208 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3631, allocations: 1.331 MB / 1.209 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.3638, allocations: 0.5596 MB / 1.21 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.3642, allocations: 362.3 kB / 1.21 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.3646, allocations: 409.8 kB / 1.21 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.997e-05/0.3647, allocations: 31.94 kB / 1.21 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.3652, allocations: 371.6 kB / 1.211 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3654, allocations: 199 kB / 1.211 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.3657, allocations: 494.7 kB / 1.211 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.3669, allocations: 1.526 MB / 1.213 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3669, allocations: 3.938 kB / 1.213 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3669, allocations: 0 / 1.213 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.3669, allocations: 0 / 1.213 GB, free: 6.367 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001983/0.3689, allocations: 1.254 MB / 1.214 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.369, allocations: 8.031 kB / 1.214 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.3691, allocations: 139.6 kB / 1.214 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/0.3699, allocations: 203.3 kB / 1.215 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/0.3708, allocations: 0.7545 MB / 1.215 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.3708, allocations: 62 kB / 1.215 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3709, allocations: 88 kB / 1.215 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3723, allocations: 0.9496 MB / 1.216 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3723, allocations: 0 / 1.216 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.3724, allocations: 36 kB / 1.216 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.3724, allocations: 31.92 kB / 1.216 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.3741, allocations: 1.132 MB / 1.217 GB, free: 1.574 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.00348/0.3776, allocations: 2.796 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.379, allocations: 0.9237 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.3795, allocations: 318.7 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.3796, allocations: 32.67 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007897/0.3804, allocations: 0.5237 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 1.773e-06/0.3804, allocations: 0 / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.002949/0.3833, allocations: 1.274 MB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.3834, allocations: 192.9 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.3841, allocations: 0.6371 MB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.3842, allocations: 45.7 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.3844, allocations: 400.4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.3846, allocations: 284 kB / 1.225 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.3847, allocations: 61.69 kB / 1.225 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3848, allocations: 386.8 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.3853, allocations: 261.9 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.3859, allocations: 383.4 kB / 1.226 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3869, allocations: 0.625 MB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3869, allocations: 0 / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001714/0.3886, allocations: 0.8487 MB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3887, allocations: 11.88 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3887, allocations: 0 / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/0.3892, allocations: 88.84 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.3899, allocations: 163.7 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.3916, allocations: 1.522 MB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.3922, allocations: 103.4 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.3923, allocations: 31.97 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0003197/0.3926, allocations: 281.5 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3927, allocations: 86.97 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.3951, allocations: 1.148 MB / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3951, allocations: 12 kB / 1.231 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3951, allocations: 0 / 1.231 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3951, allocations: 7.922 kB / 1.231 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.398, allocations: 2.036 MB / 1.233 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.398, allocations: 0 / 1.233 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.3986, allocations: 167.7 kB / 1.233 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.3991, allocations: 80.78 kB / 1.233 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.3991, allocations: 31.97 kB / 1.233 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.4007, allocations: 1.544 MB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4007, allocations: 0 / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.4026, allocations: 1.055 MB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.4029, allocations: 291.6 kB / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.403, allocations: 27.94 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.4038, allocations: 87.28 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4039, allocations: 76.95 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/0.404, allocations: 43.97 kB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004802/0.4045, allocations: 467 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4045, allocations: 0 / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006837/0.4051, allocations: 339.1 kB / 1.237 GB, free: 13.25 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 (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.003167/0.4083, allocations: 2.118 MB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.4098, allocations: 0.8354 MB / 1.24 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4098, allocations: 0 / 1.24 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.4107, allocations: 0.5548 MB / 1.24 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4118, allocations: 282.9 kB / 1.24 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.4222, allocations: 7.084 MB / 1.247 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.4227, allocations: 1.032 MB / 1.248 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007391/0.4234, allocations: 270.9 kB / 1.249 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.4239, allocations: 399.3 kB / 1.249 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.4239, allocations: 0 / 1.249 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.841/7.265, allocations: 20.9 MB / 1.269 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/7.265, allocations: 317.3 kB / 1.27 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/9.672, allocations: 1.891 kB / 1.27 GB, free: 184.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)