Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001719/0.001719, 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.001644/0.001644, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.494/2.494, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 63.27 kB / 0.9086 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2364, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008007/0.2445, allocations: 6.926 MB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1498/0.3943, allocations: 151.3 MB / 1.219 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009343/0.3952, allocations: 19.88 kB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.3961, allocations: 265.4 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.3983, allocations: 0.7897 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.4003, allocations: 0.9984 MB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.4026, allocations: 2.125 MB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.4039, allocations: 1.026 MB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.4049, allocations: 0.8331 MB / 1.224 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.406, allocations: 0.9064 MB / 1.225 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.4063, allocations: 208 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009013/0.4073, allocations: 0.5387 MB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.4077, allocations: 490.4 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007965/0.4085, allocations: 0.9486 MB / 1.227 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.4107, allocations: 2.516 MB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4107, allocations: 0 / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4107, allocations: 4 kB / 1.23 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.4107, allocations: 0 / 1.23 GB, free: 3.676 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003438/0.4142, allocations: 2.066 MB / 1.232 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.4142, allocations: 8.031 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.4144, allocations: 228 kB / 1.232 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/0.4154, allocations: 262.5 kB / 1.232 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.4166, allocations: 0.9614 MB / 1.233 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.4167, allocations: 123.1 kB / 1.233 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.4169, allocations: 148 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.4192, allocations: 1.588 MB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.4192, allocations: 0 / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.4194, allocations: 64 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.4194, allocations: 36 kB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.4219, allocations: 1.635 MB / 1.237 GB, free: 12.39 MB / 0.9981 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.006049/0.428, allocations: 4.582 MB / 1.241 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.43, allocations: 1.188 MB / 1.242 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007681/0.4307, allocations: 479.6 kB / 1.243 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.254e-05/0.4308, allocations: 53.06 kB / 1.243 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.4321, allocations: 0.7822 MB / 1.244 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 2.054e-06/0.4321, allocations: 0 / 1.244 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.003997/0.4361, allocations: 1.838 MB / 1.246 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4362, allocations: 197.2 kB / 1.246 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.4372, allocations: 0.8653 MB / 1.247 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.4373, allocations: 49.7 kB / 1.247 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.4378, allocations: 0.6171 MB / 1.247 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.4381, allocations: 410.1 kB / 1.248 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.4384, allocations: 238.8 kB / 1.248 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4386, allocations: 353.9 kB / 1.248 GB, free: 452 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/0.4394, allocations: 430.4 kB / 1.249 GB, free: 24 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3476/0.787, allocations: 0.5531 MB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.7885, allocations: 0.9645 MB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.7885, allocations: 0.75 kB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002514/0.7911, allocations: 1.297 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7911, allocations: 6.953 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7911, allocations: 1.438 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.7917, allocations: 84.36 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.7926, allocations: 254.1 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.7942, allocations: 1.65 MB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008817/0.7951, allocations: 145.2 kB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/0.7952, allocations: 54.97 kB / 1.253 GB, free: 183.6 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0005036/0.7957, allocations: 348.9 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7959, allocations: 123.5 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.7989, allocations: 1.704 MB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7989, allocations: 14.75 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.7989, allocations: 4.734 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.7989, allocations: 8.219 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.8, allocations: 1.409 MB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8, allocations: 3.938 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.8007, allocations: 218 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.8011, allocations: 78.19 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.8012, allocations: 38.33 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.8025, allocations: 1.674 MB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8025, allocations: 0 / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.8046, allocations: 1.415 MB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.8049, allocations: 371.3 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.8051, allocations: 39.17 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008109/0.8059, allocations: 88.66 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.8061, allocations: 110.7 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.8062, allocations: 57.16 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000626/0.8068, allocations: 0.6516 MB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8068, allocations: 0 / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007982/0.8076, allocations: 486.7 kB / 1.262 GB, free: 181.3 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003805/0.8115, allocations: 2.49 MB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003197/0.8147, allocations: 1.55 MB / 1.266 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8147, allocations: 4.625 kB / 1.266 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.8158, allocations: 0.7355 MB / 1.267 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.817, allocations: 347.9 kB / 1.267 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.829, allocations: 9.885 MB / 1.277 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.8297, allocations: 1.234 MB / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009508/0.8306, allocations: 335 kB / 1.278 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/0.8313, allocations: 0.6345 MB / 1.279 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.8313, allocations: 1.094 kB / 1.279 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.162/8.993, allocations: 30.79 MB / 1.309 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/25.65, allocations: 13.58 kB / 1.309 GB, free: 154.9 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)