Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001231/0.001231, allocations: 193.6 kB / 16.14 MB, free: 6.719 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4973, allocations: 151.6 MB / 1.017 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007193/0.5045, allocations: 5.021 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1468/0.6514, allocations: 148.4 MB / 1.167 GB, free: 8.887 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.6522, allocations: 15.94 kB / 1.167 GB, free: 8.871 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.6528, allocations: 154.8 kB / 1.167 GB, free: 8.719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.6546, allocations: 494.6 kB / 1.167 GB, free: 8.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.6563, allocations: 0.771 MB / 1.168 GB, free: 7.473 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.6577, allocations: 1.374 MB / 1.169 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.6585, allocations: 0.5747 MB / 1.17 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.6591, allocations: 458.1 kB / 1.17 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.6596, allocations: 0.4978 MB / 1.171 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.6598, allocations: 60 kB / 1.171 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.6605, allocations: 431.6 kB / 1.171 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.6608, allocations: 247 kB / 1.171 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.6613, allocations: 0.536 MB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.6629, allocations: 1.628 MB / 1.174 GB, free: 1.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6629, allocations: 0 / 1.174 GB, free: 1.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6629, allocations: 0 / 1.174 GB, free: 1.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.663, allocations: 0 / 1.174 GB, free: 1.656 MB / 0.92 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.00259/0.6656, allocations: 1.503 MB / 1.175 GB, free: 96 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.6656, allocations: 8.031 kB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.6658, allocations: 147.8 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008925/0.6667, allocations: 195.3 kB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.6676, allocations: 0.7583 MB / 1.176 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.6677, allocations: 66 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.6678, allocations: 88 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.6693, allocations: 0.9769 MB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6694, allocations: 4 kB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.6694, allocations: 36 kB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.6695, allocations: 24 kB / 1.177 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.6712, allocations: 1.159 MB / 1.178 GB, free: 12.55 MB / 0.9356 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.004117/0.6754, allocations: 2.911 MB / 1.181 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.6774, allocations: 0.9888 MB / 1.182 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.678, allocations: 330.6 kB / 1.183 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.487e-05/0.6781, allocations: 38.66 kB / 1.183 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009322/0.6791, allocations: 0.5276 MB / 1.183 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.204e-06/0.6791, allocations: 4 kB / 1.183 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003224/0.6823, allocations: 1.302 MB / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/0.6824, allocations: 192.9 kB / 1.185 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.6831, allocations: 0.6451 MB / 1.185 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.6832, allocations: 45.69 kB / 1.185 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.6835, allocations: 404.5 kB / 1.186 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.6837, allocations: 291.8 kB / 1.186 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.6839, allocations: 158.5 kB / 1.186 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6841, allocations: 390.7 kB / 1.186 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.6846, allocations: 269.9 kB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.6852, allocations: 386.5 kB / 1.187 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.6863, allocations: 0.6281 MB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6863, allocations: 0 / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001947/0.6883, allocations: 0.8643 MB / 1.189 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6883, allocations: 11.98 kB / 1.189 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6883, allocations: 0 / 1.189 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.6889, allocations: 84.83 kB / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/0.6896, allocations: 163.8 kB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.6915, allocations: 1.529 MB / 1.19 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.6922, allocations: 103.3 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.6923, allocations: 35.97 kB / 1.19 GB, free: 15.85 MB / 0.9512 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.0003473/0.6926, allocations: 275.5 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6928, allocations: 82.97 kB / 1.191 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.6953, allocations: 1.203 MB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.6953, allocations: 12 kB / 1.192 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.6953, allocations: 0 / 1.192 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6953, allocations: 7.969 kB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.6986, allocations: 2.113 MB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6986, allocations: 3.938 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.6992, allocations: 167.7 kB / 1.194 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.6997, allocations: 80.78 kB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.6998, allocations: 31.97 kB / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.7015, allocations: 1.544 MB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7015, allocations: 0 / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.7034, allocations: 1.09 MB / 1.197 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.7038, allocations: 291.6 kB / 1.197 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.7039, allocations: 24 kB / 1.197 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.7046, allocations: 71.92 kB / 1.197 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.7048, allocations: 84.88 kB / 1.197 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/0.7049, allocations: 39.97 kB / 1.197 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000505/0.7054, allocations: 471 kB / 1.198 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7054, allocations: 0 / 1.198 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007938/0.7062, allocations: 347.2 kB / 1.198 GB, free: 7.684 MB / 0.9512 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.003348/0.7095, allocations: 2.165 MB / 1.2 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.7111, allocations: 0.8703 MB / 1.201 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7111, allocations: 0 / 1.201 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.712, allocations: 0.5626 MB / 1.202 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.7131, allocations: 280.5 kB / 1.202 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.7239, allocations: 7.216 MB / 1.209 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.7245, allocations: 1.048 MB / 1.21 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000801/0.7253, allocations: 287 kB / 1.21 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.7258, allocations: 411.3 kB / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.7258, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.416/2.142, allocations: 21.84 MB / 1.232 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2432/2.385, allocations: 325 kB / 1.232 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/4.568, allocations: 0 / 1.232 GB, free: 4.973 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)