Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007885/0.007885, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004152, allocations: 8.219 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3104, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008107/0.3186, allocations: 6.419 MB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.4902, allocations: 147.4 MB / 1.224 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.4917, allocations: 15.94 kB / 1.224 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000837/0.4925, allocations: 198.4 kB / 1.225 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.4951, allocations: 0.691 MB / 1.225 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.4973, allocations: 0.8517 MB / 1.226 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.4998, allocations: 2.004 MB / 1.228 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.5014, allocations: 0.9634 MB / 1.229 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.5026, allocations: 0.5831 MB / 1.229 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.5037, allocations: 0.6527 MB / 1.23 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.5039, allocations: 44 kB / 1.23 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.5049, allocations: 383.6 kB / 1.231 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.5052, allocations: 278.6 kB / 1.231 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007893/0.506, allocations: 0.7627 MB / 1.232 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.5083, allocations: 2.332 MB / 1.234 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5083, allocations: 0 / 1.234 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5083, allocations: 4 kB / 1.234 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.5083, allocations: 0 / 1.234 GB, free: 3.348 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.003672/0.512, allocations: 1.724 MB / 1.236 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5121, allocations: 8.031 kB / 1.236 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.5132, allocations: 262.6 kB / 1.236 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.5147, allocations: 0.9693 MB / 1.237 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5148, allocations: 115.1 kB / 1.237 GB, free: 172 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.5151, allocations: 152 kB / 1.237 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.5179, allocations: 1.584 MB / 1.239 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.518, allocations: 0 / 1.239 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.5181, allocations: 67.98 kB / 1.239 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.5182, allocations: 39.94 kB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.5209, allocations: 1.643 MB / 1.24 GB, free: 12.62 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.008094/0.529, allocations: 4.613 MB / 1.245 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.5313, allocations: 1.201 MB / 1.246 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000968/0.5323, allocations: 483.6 kB / 1.246 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.5325, allocations: 52.91 kB / 1.246 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.5338, allocations: 0.786 MB / 1.247 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.186e-06/0.5338, allocations: 0 / 1.247 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004938/0.5388, allocations: 1.857 MB / 1.249 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.5389, allocations: 197.2 kB / 1.249 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5402, allocations: 0.8692 MB / 1.25 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5403, allocations: 53.7 kB / 1.25 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/0.5409, allocations: 0.6015 MB / 1.251 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005126/0.5414, allocations: 418.1 kB / 1.251 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.5415, allocations: 101.7 kB / 1.251 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5417, allocations: 353.9 kB / 1.252 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008985/0.5426, allocations: 454.4 kB / 1.252 GB, free: 300 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6385/1.181, allocations: 0.5606 MB / 1.252 GB, free: 27.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/1.183, allocations: 0.9975 MB / 1.253 GB, free: 27.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.184, allocations: 0 / 1.253 GB, free: 27.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003232/1.187, allocations: 1.354 MB / 1.255 GB, free: 27.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.187, allocations: 6.047 kB / 1.255 GB, free: 27.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.187, allocations: 1.812 kB / 1.255 GB, free: 27.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/1.187, allocations: 85.23 kB / 1.255 GB, free: 27.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.189, allocations: 270.2 kB / 1.255 GB, free: 27.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/1.191, allocations: 1.546 MB / 1.257 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.192, allocations: 179.3 kB / 1.257 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.192, allocations: 63.2 kB / 1.257 GB, free: 26.07 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (157): * Single equations (assignments): 156 * 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.0007249/1.193, allocations: 353.2 kB / 1.257 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/1.193, allocations: 116.1 kB / 1.257 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/1.197, allocations: 1.723 MB / 1.259 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/1.197, allocations: 16.97 kB / 1.259 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.197, allocations: 5.172 kB / 1.259 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.197, allocations: 6.422 kB / 1.259 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.199, allocations: 1.398 MB / 1.26 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.199, allocations: 2.875 kB / 1.26 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/1.2, allocations: 217 kB / 1.261 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/1.2, allocations: 91.88 kB / 1.261 GB, free: 25.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/1.2, allocations: 39.05 kB / 1.261 GB, free: 25.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/1.202, allocations: 1.559 MB / 1.262 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.202, allocations: 3.438 kB / 1.262 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/1.204, allocations: 1.417 MB / 1.264 GB, free: 24.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/1.205, allocations: 407.3 kB / 1.264 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.205, allocations: 28.88 kB / 1.264 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009888/1.206, allocations: 113.3 kB / 1.264 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/1.206, allocations: 109.9 kB / 1.264 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.206, allocations: 61.09 kB / 1.264 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008504/1.207, allocations: 0.6484 MB / 1.265 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.207, allocations: 0 / 1.265 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001106/1.208, allocations: 0.4893 MB / 1.265 GB, free: 23.77 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.0013/1.21, allocations: 0.6247 MB / 1.266 GB, free: 23.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002294/1.212, allocations: 1.276 MB / 1.267 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.212, allocations: 4.094 kB / 1.267 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/1.213, allocations: 0.7462 MB / 1.268 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.215, allocations: 323.6 kB / 1.268 GB, free: 23.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/1.219, allocations: 3.296 MB / 1.272 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/1.22, allocations: 1.236 MB / 1.273 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001274/1.221, allocations: 324.5 kB / 1.273 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/1.222, allocations: 157.5 kB / 1.273 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.222, allocations: 0 / 1.273 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of Templates: time 0.03967/1.261, allocations: 20.53 MB / 1.293 GB, free: 19.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)