Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_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.001288/0.001288, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001277/0.001277, allocations: 192.5 kB / 16.25 MB, free: 6.645 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.47/2.47, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.56 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.245, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007103/0.2522, allocations: 6.899 MB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.4278, allocations: 149 MB / 1.205 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.4289, allocations: 23.88 kB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008541/0.4298, allocations: 194.5 kB / 1.205 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.4321, allocations: 0.7016 MB / 1.206 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.4342, allocations: 0.8891 MB / 1.206 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.4364, allocations: 2.133 MB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.4377, allocations: 1.034 MB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.4387, allocations: 0.8291 MB / 1.21 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007984/0.4395, allocations: 0.918 MB / 1.211 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.4397, allocations: 208 kB / 1.211 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007711/0.4405, allocations: 0.5309 MB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003307/0.4408, allocations: 486.4 kB / 1.212 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.4415, allocations: 0.9602 MB / 1.213 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.4435, allocations: 2.512 MB / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4435, allocations: 0 / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.71e-07/0.4436, allocations: 0 / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.4436, allocations: 0 / 1.216 GB, free: 0.7188 MB / 0.9669 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.003519/0.4471, allocations: 2.066 MB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4472, allocations: 12.62 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002262/0.4474, allocations: 220 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009376/0.4483, allocations: 262.5 kB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4495, allocations: 0.9769 MB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.4496, allocations: 115.1 kB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.4498, allocations: 144 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.4521, allocations: 1.588 MB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.4521, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.4523, allocations: 68 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.4523, allocations: 36 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.4547, allocations: 1.639 MB / 1.223 GB, free: 9.43 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.005845/0.4605, allocations: 4.571 MB / 1.227 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.4624, allocations: 1.192 MB / 1.228 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/0.4632, allocations: 479.6 kB / 1.229 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.4633, allocations: 49.02 kB / 1.229 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.4645, allocations: 0.7784 MB / 1.23 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=128): time 2.494e-06/0.4645, allocations: 0 / 1.23 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128): time 0.003895/0.4684, allocations: 1.849 MB / 1.231 GB, free: 292 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.4685, allocations: 197.2 kB / 1.232 GB, free: 52 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009479/0.4695, allocations: 0.8653 MB / 1.232 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.4696, allocations: 57.7 kB / 1.233 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.47, allocations: 0.6094 MB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.4703, allocations: 402.1 kB / 1.234 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.4706, allocations: 242.8 kB / 1.234 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4707, allocations: 353.9 kB / 1.234 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007243/0.4714, allocations: 422.4 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/0.4723, allocations: 0.5681 MB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.4739, allocations: 0.9701 MB / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4739, allocations: 0 / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002485/0.4764, allocations: 1.293 MB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4764, allocations: 4 kB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4764, allocations: 4 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.477, allocations: 84.83 kB / 1.237 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4781, allocations: 259.6 kB / 1.238 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.48, allocations: 1.658 MB / 1.239 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009852/0.481, allocations: 158.3 kB / 1.239 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.4811, allocations: 51.95 kB / 1.239 GB, free: 7.836 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.000522/0.4816, allocations: 344.2 kB / 1.24 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.4819, allocations: 122.5 kB / 1.24 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/0.4853, allocations: 1.71 MB / 1.242 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.4854, allocations: 16 kB / 1.242 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4854, allocations: 3.984 kB / 1.242 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4854, allocations: 3.984 kB / 1.242 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.4869, allocations: 1.412 MB / 1.243 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4869, allocations: 0 / 1.243 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/0.4878, allocations: 219.6 kB / 1.243 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.4882, allocations: 76.78 kB / 1.243 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.4883, allocations: 39.97 kB / 1.243 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.4905, allocations: 1.677 MB / 1.245 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4905, allocations: 0 / 1.245 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/0.4948, allocations: 1.406 MB / 1.246 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/0.4957, allocations: 375 kB / 1.247 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.4961, allocations: 39.89 kB / 1.247 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.4974, allocations: 88.05 kB / 1.247 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.4909/0.9883, allocations: 116.6 kB / 1.247 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003043/0.9886, allocations: 55.41 kB / 1.247 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001306/0.9899, allocations: 0.6472 MB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.99, allocations: 0 / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001748/0.9917, allocations: 486.4 kB / 1.248 GB, free: 192.4 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.004971/0.9967, allocations: 2.476 MB / 1.25 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00353/1, allocations: 1.56 MB / 1.252 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1, allocations: 0 / 1.252 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.001, allocations: 0.7369 MB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.003, allocations: 364.1 kB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/1.018, allocations: 10.53 MB / 1.263 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/1.019, allocations: 1.234 MB / 1.264 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001259/1.02, allocations: 338.9 kB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/1.021, allocations: 0.6229 MB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.021, allocations: 0.875 kB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6336/1.654, allocations: 30.53 MB / 1.295 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.655, allocations: 311.7 kB / 1.296 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/5.214, allocations: 0 / 1.296 GB, free: 173.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)