Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SolarAzimuth,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_11_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.001611/0.001616, allocations: 108 kB / 15.61 MB, free: 152 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.001789/0.001789, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.609/2.609, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 62.84 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.251, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006384/0.2574, allocations: 5.007 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1581/0.4156, allocations: 150.7 MB / 1.216 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007364/0.4163, allocations: 15.94 kB / 1.216 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.417, allocations: 202.1 kB / 1.216 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.4189, allocations: 0.5674 MB / 1.217 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.421, allocations: 0.8867 MB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.4227, allocations: 1.456 MB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.4237, allocations: 0.6108 MB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007505/0.4244, allocations: 0.5023 MB / 1.22 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007739/0.4252, allocations: 0.5445 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.4255, allocations: 120 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009397/0.4264, allocations: 483.7 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.4267, allocations: 314.9 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.4274, allocations: 0.5946 MB / 1.222 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.4294, allocations: 1.679 MB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4294, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4294, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.833e-05/0.4295, allocations: 4 kB / 1.224 GB, free: 9.891 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003078/0.4325, allocations: 1.506 MB / 1.225 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4326, allocations: 12.03 kB / 1.225 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.4328, allocations: 139.8 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.4337, allocations: 191.3 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4348, allocations: 0.77 MB / 1.226 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.4348, allocations: 66 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.435, allocations: 84 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.4365, allocations: 0.9769 MB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.4366, allocations: 4 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.4367, allocations: 43.98 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.4367, allocations: 20 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.4385, allocations: 1.159 MB / 1.229 GB, free: 4.785 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.004216/0.4427, allocations: 2.915 MB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.4448, allocations: 0.9826 MB / 1.233 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.4454, allocations: 334.6 kB / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.027e-05/0.4455, allocations: 26.75 kB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009463/0.4464, allocations: 0.5315 MB / 1.233 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.144e-06/0.4464, allocations: 0 / 1.233 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003213/0.4496, allocations: 1.302 MB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.4498, allocations: 192.9 kB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.4506, allocations: 0.649 MB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.4506, allocations: 45.7 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.451, allocations: 412.3 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.4512, allocations: 283.9 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.4514, allocations: 166.5 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4516, allocations: 382.8 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.4522, allocations: 269.8 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.4528, allocations: 390.5 kB / 1.237 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.454, allocations: 0.6281 MB / 1.238 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.454, allocations: 0 / 1.238 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001922/0.4559, allocations: 0.8682 MB / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.456, allocations: 8 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.456, allocations: 0 / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.4565, allocations: 84.83 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/0.4572, allocations: 167.7 kB / 1.239 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.4592, allocations: 1.627 MB / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.46, allocations: 107.3 kB / 1.241 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/0.46, allocations: 35.98 kB / 1.241 GB, free: 7.977 MB / 0.9981 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.0003934/0.4604, allocations: 271.4 kB / 1.241 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.4606, allocations: 86.97 kB / 1.241 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.4632, allocations: 1.203 MB / 1.242 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4632, allocations: 12 kB / 1.242 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.4632, allocations: 0 / 1.242 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4632, allocations: 3.984 kB / 1.242 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.4666, allocations: 2.094 MB / 1.244 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.4666, allocations: 3.984 kB / 1.244 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/0.4672, allocations: 171.7 kB / 1.245 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/0.4676, allocations: 68.78 kB / 1.245 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.4677, allocations: 31.97 kB / 1.245 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.4696, allocations: 1.67 MB / 1.246 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4696, allocations: 4.062 kB / 1.246 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.4717, allocations: 1.086 MB / 1.247 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.472, allocations: 287.6 kB / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.4722, allocations: 24 kB / 1.248 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/0.4728, allocations: 63.92 kB / 1.248 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.473, allocations: 92.95 kB / 1.248 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/0.4731, allocations: 43.97 kB / 1.248 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005744/0.4737, allocations: 471 kB / 1.248 GB, free: 52 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4737, allocations: 0 / 1.248 GB, free: 52 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.3945/0.8682, allocations: 337.8 kB / 1.249 GB, free: 185.9 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.003732/0.872, allocations: 2.161 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.8743, allocations: 1.1 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8743, allocations: 7.531 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008593/0.8752, allocations: 0.5581 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.8764, allocations: 307.7 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/0.8844, allocations: 6.805 MB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.8847, allocations: 1.048 MB / 1.26 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007062/0.8854, allocations: 280.4 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.8859, allocations: 410.5 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.8859, allocations: 4.188 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6587/1.545, allocations: 22.69 MB / 1.283 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.45/22, allocations: 9.641 kB / 1.283 GB, free: 175.7 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)