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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.005009/0.005009, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001394/0.001394, allocations: 191.5 kB / 16.67 MB, free: 5.973 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.542/2.542, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 67.94 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2607, allocations: 162.3 MB / 1.242 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006416/0.2671, allocations: 5.016 MB / 1.247 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.4183, allocations: 150.7 MB / 1.394 GB, free: 12.56 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.419, allocations: 19.88 kB / 1.394 GB, free: 12.54 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.4195, allocations: 198.1 kB / 1.394 GB, free: 12.35 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.4209, allocations: 0.5546 MB / 1.395 GB, free: 11.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.4226, allocations: 0.882 MB / 1.396 GB, free: 10.92 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.4239, allocations: 1.475 MB / 1.397 GB, free: 9.434 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007661/0.4246, allocations: 0.5984 MB / 1.398 GB, free: 8.809 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.4251, allocations: 0.51 MB / 1.398 GB, free: 8.297 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.4257, allocations: 0.5445 MB / 1.399 GB, free: 7.75 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.4259, allocations: 120 kB / 1.399 GB, free: 7.633 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007227/0.4266, allocations: 0.4957 MB / 1.399 GB, free: 7.137 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.4269, allocations: 319 kB / 1.4 GB, free: 6.824 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.4274, allocations: 0.5908 MB / 1.4 GB, free: 6.23 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.4291, allocations: 1.732 MB / 1.402 GB, free: 4.492 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4291, allocations: 0 / 1.402 GB, free: 4.492 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4291, allocations: 8 kB / 1.402 GB, free: 4.484 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.4291, allocations: 0 / 1.402 GB, free: 4.484 MB / 1.123 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.002393/0.4315, allocations: 1.536 MB / 1.403 GB, free: 2.895 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4316, allocations: 8.031 kB / 1.403 GB, free: 2.887 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.4317, allocations: 147.7 kB / 1.403 GB, free: 2.734 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.4326, allocations: 204 kB / 1.404 GB, free: 2.535 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.4336, allocations: 0.794 MB / 1.404 GB, free: 1.699 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.4337, allocations: 66 kB / 1.404 GB, free: 1.633 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4338, allocations: 88 kB / 1.405 GB, free: 1.547 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4353, allocations: 0.9846 MB / 1.406 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4354, allocations: 0 / 1.406 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.4355, allocations: 36 kB / 1.406 GB, free: 500 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.4355, allocations: 20 kB / 1.406 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.4373, allocations: 1.163 MB / 1.407 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.4412, allocations: 2.935 MB / 1.41 GB, free: 12.24 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.4432, allocations: 0.9771 MB / 1.411 GB, free: 11.23 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.4438, allocations: 338.7 kB / 1.411 GB, free: 10.9 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.4439, allocations: 38.66 kB / 1.411 GB, free: 10.87 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008659/0.4448, allocations: 0.5314 MB / 1.411 GB, free: 10.32 MB / 1.139 GB Notification: Performance of pre-optimization done (n=88): time 1.943e-06/0.4448, allocations: 0 / 1.411 GB, free: 10.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=88): time 0.003108/0.4479, allocations: 1.302 MB / 1.413 GB, free: 8.992 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.448, allocations: 188.9 kB / 1.413 GB, free: 8.762 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.4488, allocations: 0.6605 MB / 1.413 GB, free: 8.094 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.4488, allocations: 49.69 kB / 1.414 GB, free: 8.039 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.4491, allocations: 409.2 kB / 1.414 GB, free: 7.633 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.4494, allocations: 297.5 kB / 1.414 GB, free: 7.34 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.4496, allocations: 158.6 kB / 1.414 GB, free: 7.18 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4498, allocations: 394.7 kB / 1.415 GB, free: 6.785 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.4503, allocations: 261.9 kB / 1.415 GB, free: 6.531 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006433/0.451, allocations: 390.5 kB / 1.415 GB, free: 6.117 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.4521, allocations: 0.6281 MB / 1.416 GB, free: 5.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4521, allocations: 4 kB / 1.416 GB, free: 5.477 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001883/0.454, allocations: 0.8687 MB / 1.417 GB, free: 4.598 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.454, allocations: 9.719 kB / 1.417 GB, free: 4.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.454, allocations: 3.984 kB / 1.417 GB, free: 4.586 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.4546, allocations: 76.84 kB / 1.417 GB, free: 4.508 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.4552, allocations: 167.8 kB / 1.417 GB, free: 4.344 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.4572, allocations: 1.644 MB / 1.419 GB, free: 2.559 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.4579, allocations: 107.5 kB / 1.419 GB, free: 2.453 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.4579, allocations: 35.97 kB / 1.419 GB, free: 2.418 MB / 1.139 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.0003385/0.4583, allocations: 264 kB / 1.419 GB, free: 2.148 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4584, allocations: 87.44 kB / 1.419 GB, free: 2.062 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.4609, allocations: 1.199 MB / 1.42 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4609, allocations: 12 kB / 1.42 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.461, allocations: 3.984 kB / 1.42 GB, free: 0.832 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.461, allocations: 3.984 kB / 1.42 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.4642, allocations: 2.111 MB / 1.422 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4642, allocations: 3.938 kB / 1.422 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.4648, allocations: 163.8 kB / 1.423 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.4652, allocations: 76.73 kB / 1.423 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.4653, allocations: 31.97 kB / 1.423 GB, free: 14.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.4671, allocations: 1.658 MB / 1.424 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4671, allocations: 0 / 1.424 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.4692, allocations: 1.104 MB / 1.425 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.4695, allocations: 288.1 kB / 1.426 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4696, allocations: 23.92 kB / 1.426 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.4703, allocations: 75.92 kB / 1.426 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.4704, allocations: 80.97 kB / 1.426 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/0.4705, allocations: 47.95 kB / 1.426 GB, free: 10.93 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005306/0.4711, allocations: 467 kB / 1.426 GB, free: 10.48 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4711, allocations: 4 kB / 1.426 GB, free: 10.48 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007223/0.4718, allocations: 347.1 kB / 1.427 GB, free: 10.14 MB / 1.154 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.003922/0.4757, allocations: 2.167 MB / 1.429 GB, free: 8.129 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.4773, allocations: 0.8664 MB / 1.43 GB, free: 7.25 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4773, allocations: 0 / 1.43 GB, free: 7.25 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009468/0.4783, allocations: 0.5704 MB / 1.43 GB, free: 6.664 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4794, allocations: 309.3 kB / 1.43 GB, free: 6.379 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009697/0.4891, allocations: 6.582 MB / 1.437 GB, free: 15.64 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.4898, allocations: 1.048 MB / 1.438 GB, free: 14.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007065/0.4905, allocations: 279.1 kB / 1.438 GB, free: 14.29 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.491, allocations: 411.3 kB / 1.439 GB, free: 13.89 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/0.4911, allocations: 3.938 kB / 1.439 GB, free: 13.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8279/1.319, allocations: 22.94 MB / 1.461 GB, free: 7.277 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.07/23.39, allocations: 11.5 kB / 1.461 GB, free: 7.27 MB / 1.186 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=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)