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.004354/0.004354, allocations: 100.9 kB / 15.73 MB, free: 6 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.001322/0.001322, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.4 MB, free: 4.32 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.477/2.477, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2659, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006822/0.2728, allocations: 5.009 MB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6486/0.9214, allocations: 150.7 MB / 1.372 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006411/0.9221, allocations: 16.47 kB / 1.372 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.9226, allocations: 196.8 kB / 1.372 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.9241, allocations: 0.5588 MB / 1.373 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.9258, allocations: 0.887 MB / 1.374 GB, free: 9.945 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.9271, allocations: 1.476 MB / 1.375 GB, free: 9.188 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007925/0.9279, allocations: 0.5999 MB / 1.376 GB, free: 8.867 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005483/0.9285, allocations: 0.5076 MB / 1.376 GB, free: 8.617 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.9291, allocations: 0.5481 MB / 1.377 GB, free: 8.328 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.9292, allocations: 121.5 kB / 1.377 GB, free: 8.328 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.93, allocations: 0.4955 MB / 1.378 GB, free: 8.211 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.9303, allocations: 315.5 kB / 1.378 GB, free: 8.012 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.9309, allocations: 0.5935 MB / 1.378 GB, free: 7.617 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.9326, allocations: 1.724 MB / 1.38 GB, free: 6.668 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9326, allocations: 7.922 kB / 1.38 GB, free: 6.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9326, allocations: 1.156 kB / 1.38 GB, free: 6.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.9327, allocations: 4 kB / 1.38 GB, free: 6.656 MB / 1.076 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.002616/0.9353, allocations: 1.537 MB / 1.382 GB, free: 5.441 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.9353, allocations: 13.03 kB / 1.382 GB, free: 5.438 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.9355, allocations: 147.3 kB / 1.382 GB, free: 5.316 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000878/0.9364, allocations: 198.2 kB / 1.382 GB, free: 5.219 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.9375, allocations: 0.796 MB / 1.383 GB, free: 4.566 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.9376, allocations: 66.84 kB / 1.383 GB, free: 4.535 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.9377, allocations: 88.91 kB / 1.383 GB, free: 4.508 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.9394, allocations: 0.9729 MB / 1.384 GB, free: 3.887 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.9394, allocations: 0 / 1.384 GB, free: 3.887 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.9395, allocations: 41.05 kB / 1.384 GB, free: 3.855 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.9395, allocations: 22.38 kB / 1.384 GB, free: 3.855 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.9414, allocations: 1.16 MB / 1.385 GB, free: 3.297 MB / 1.076 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.004249/0.9456, allocations: 2.899 MB / 1.388 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.9477, allocations: 0.9759 MB / 1.389 GB, free: 460 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/0.9483, allocations: 326 kB / 1.389 GB, free: 292 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/0.9484, allocations: 36.72 kB / 1.389 GB, free: 272 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009332/0.9494, allocations: 0.5331 MB / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=88): time 1.974e-06/0.9494, allocations: 0 / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=88): time 0.003307/0.9527, allocations: 1.303 MB / 1.391 GB, free: 15.22 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.9528, allocations: 194.5 kB / 1.391 GB, free: 15 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/0.9536, allocations: 0.6534 MB / 1.392 GB, free: 14.62 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.9537, allocations: 45.86 kB / 1.392 GB, free: 14.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.954, allocations: 411.5 kB / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.9543, allocations: 300.8 kB / 1.392 GB, free: 13.95 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.9546, allocations: 162.1 kB / 1.393 GB, free: 13.86 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.9548, allocations: 390.2 kB / 1.393 GB, free: 13.48 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.9553, allocations: 270.1 kB / 1.393 GB, free: 13.35 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.956, allocations: 384.2 kB / 1.394 GB, free: 13.11 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.9572, allocations: 0.6306 MB / 1.394 GB, free: 12.77 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9572, allocations: 0 / 1.394 GB, free: 12.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001987/0.9592, allocations: 0.8769 MB / 1.395 GB, free: 12.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9592, allocations: 4.812 kB / 1.395 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9592, allocations: 1.281 kB / 1.395 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/0.9598, allocations: 89.28 kB / 1.395 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.9605, allocations: 162.6 kB / 1.395 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.9626, allocations: 1.63 MB / 1.397 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.9633, allocations: 107.1 kB / 1.397 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.9634, allocations: 40.58 kB / 1.397 GB, free: 10.55 MB / 1.092 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.0003654/0.9638, allocations: 271.3 kB / 1.397 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.9639, allocations: 92.67 kB / 1.397 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.9666, allocations: 1.189 MB / 1.399 GB, free: 9.633 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.9666, allocations: 14.38 kB / 1.399 GB, free: 9.629 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.9666, allocations: 1.719 kB / 1.399 GB, free: 9.629 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.9666, allocations: 7.969 kB / 1.399 GB, free: 9.621 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.97, allocations: 2.102 MB / 1.401 GB, free: 8.238 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.9701, allocations: 0 / 1.401 GB, free: 8.238 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.9707, allocations: 164.3 kB / 1.401 GB, free: 8.203 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.9711, allocations: 75.72 kB / 1.401 GB, free: 8.164 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.9712, allocations: 32 kB / 1.401 GB, free: 8.141 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.9731, allocations: 1.661 MB / 1.403 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.9731, allocations: 0 / 1.403 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.9752, allocations: 1.098 MB / 1.404 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.9756, allocations: 298.4 kB / 1.404 GB, free: 5.656 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.9757, allocations: 21.66 kB / 1.404 GB, free: 5.641 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.9764, allocations: 69.83 kB / 1.404 GB, free: 5.605 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.9766, allocations: 83 kB / 1.404 GB, free: 5.562 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.9766, allocations: 46.53 kB / 1.404 GB, free: 5.543 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005326/0.9772, allocations: 469.1 kB / 1.405 GB, free: 5.281 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9772, allocations: 0 / 1.405 GB, free: 5.281 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007897/0.978, allocations: 354 kB / 1.405 GB, free: 5.176 MB / 1.092 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.004066/0.9821, allocations: 2.179 MB / 1.407 GB, free: 3.824 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.9837, allocations: 0.8651 MB / 1.408 GB, free: 3.379 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9837, allocations: 4.188 kB / 1.408 GB, free: 3.375 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/0.9846, allocations: 0.5638 MB / 1.408 GB, free: 3.059 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.9858, allocations: 315.5 kB / 1.409 GB, free: 2.891 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.996, allocations: 6.59 MB / 1.415 GB, free: 13.01 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.9967, allocations: 1.044 MB / 1.416 GB, free: 11.94 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007622/0.9975, allocations: 275.1 kB / 1.416 GB, free: 11.67 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/0.9981, allocations: 419.2 kB / 1.417 GB, free: 11.26 MB / 1.107 GB Notification: Performance of SimCode: time 2.8e-07/0.9981, allocations: 0 / 1.417 GB, free: 11.26 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6127/1.611, allocations: 22.94 MB / 1.439 GB, free: 4.664 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/20.41, allocations: 6.312 kB / 1.439 GB, free: 4.664 MB / 1.123 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)