Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_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.001414/0.001415, 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.001373/0.001373, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001752, allocations: 72.67 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2437, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006335/0.25, allocations: 4.939 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.4041, allocations: 150.6 MB / 1.216 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007007/0.4049, allocations: 19.88 kB / 1.216 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.4055, allocations: 198.1 kB / 1.216 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.4072, allocations: 0.5595 MB / 1.217 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.4091, allocations: 0.8379 MB / 1.218 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.4106, allocations: 1.421 MB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.4115, allocations: 0.595 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.4122, allocations: 0.4944 MB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.4128, allocations: 0.5212 MB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.4131, allocations: 120 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/0.4139, allocations: 463.6 kB / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.4142, allocations: 303 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.4148, allocations: 0.5752 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4165, allocations: 1.632 MB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4165, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4165, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4165, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 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.002474/0.419, allocations: 1.464 MB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.419, allocations: 12.03 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.4192, allocations: 131.6 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.4201, allocations: 199.3 kB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000984/0.4211, allocations: 0.7544 MB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.4211, allocations: 62 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4213, allocations: 84 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.4228, allocations: 0.9418 MB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4228, allocations: 0 / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.4229, allocations: 43.98 kB / 1.227 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.4229, allocations: 24 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.4247, allocations: 1.128 MB / 1.228 GB, free: 5.285 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.003842/0.4285, allocations: 2.768 MB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.4301, allocations: 0.912 MB / 1.232 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.4307, allocations: 318.7 kB / 1.232 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.465e-05/0.4308, allocations: 36.67 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009033/0.4317, allocations: 0.5158 MB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 1.954e-06/0.4317, allocations: 0 / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003177/0.4349, allocations: 1.263 MB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.435, allocations: 192.9 kB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.4358, allocations: 0.6411 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.4358, allocations: 45.7 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.4361, allocations: 404.4 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.4364, allocations: 276 kB / 1.235 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.4366, allocations: 158.5 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4368, allocations: 386.8 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.4373, allocations: 257.9 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.438, allocations: 379.3 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.4391, allocations: 0.6172 MB / 1.237 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4391, allocations: 0 / 1.237 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001835/0.4409, allocations: 0.8369 MB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4409, allocations: 7.938 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.441, allocations: 4 kB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.4415, allocations: 84.89 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.4421, allocations: 159.8 kB / 1.238 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.4442, allocations: 1.622 MB / 1.24 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.4448, allocations: 97.81 kB / 1.24 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.4449, allocations: 39.91 kB / 1.24 GB, free: 8.852 MB / 0.9981 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.0003449/0.4452, allocations: 265.9 kB / 1.24 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.4454, allocations: 86.95 kB / 1.24 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.4478, allocations: 1.148 MB / 1.241 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.4479, allocations: 8 kB / 1.241 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4479, allocations: 0 / 1.241 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.4479, allocations: 7.969 kB / 1.241 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.4511, allocations: 2.021 MB / 1.243 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4511, allocations: 0 / 1.243 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.4517, allocations: 155.8 kB / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.4521, allocations: 76.73 kB / 1.244 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.4521, allocations: 31.97 kB / 1.244 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.454, allocations: 1.666 MB / 1.245 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.454, allocations: 0 / 1.245 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.4561, allocations: 1.043 MB / 1.246 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.4564, allocations: 287.5 kB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.4565, allocations: 28 kB / 1.247 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.4572, allocations: 63.92 kB / 1.247 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.4574, allocations: 76.89 kB / 1.247 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.4574, allocations: 35.98 kB / 1.247 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005481/0.458, allocations: 467 kB / 1.247 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.458, allocations: 4 kB / 1.247 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007464/0.4587, allocations: 335.1 kB / 1.248 GB, free: 0.8164 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.3575/0.8162, allocations: 2.092 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.8185, allocations: 1.067 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8185, allocations: 0 / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.8194, allocations: 0.5375 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.8206, allocations: 305.1 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.8286, allocations: 6.633 MB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.8289, allocations: 1.039 MB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000664/0.8296, allocations: 271.5 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003951/0.83, allocations: 396.7 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.83, allocations: 0 / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9884/1.818, allocations: 22.04 MB / 1.281 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.92, allocations: 6.531 kB / 1.281 GB, free: 176.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)