Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 108 kB / 15.61 MB, free: 152 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.00199/0.00199, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7451 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 60.47 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3313, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006672/0.338, allocations: 4.977 MB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1551/0.4931, allocations: 150.8 MB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.494, allocations: 15.94 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007404/0.4948, allocations: 194.1 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.4969, allocations: 0.5726 MB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.499, allocations: 0.8479 MB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.5006, allocations: 1.44 MB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009027/0.5015, allocations: 0.5832 MB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.5023, allocations: 0.5177 MB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.503, allocations: 0.529 MB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.5032, allocations: 120 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008679/0.5041, allocations: 463.6 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.5044, allocations: 311 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.5049, allocations: 0.5791 MB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.5064, allocations: 1.64 MB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5064, allocations: 0 / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5064, allocations: 0 / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5064, allocations: 4 kB / 1.228 GB, free: 6.262 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002309/0.5088, allocations: 1.475 MB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.5088, allocations: 12.03 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008831/0.5097, allocations: 195.3 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.5106, allocations: 0.7585 MB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.5107, allocations: 65.94 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5108, allocations: 91.98 kB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.5123, allocations: 0.9613 MB / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5123, allocations: 0 / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.5124, allocations: 40 kB / 1.231 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.5124, allocations: 20 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.5141, allocations: 1.167 MB / 1.233 GB, free: 1.348 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.0038/0.5179, allocations: 2.879 MB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.5194, allocations: 0.8407 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.5199, allocations: 326.7 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.52, allocations: 32.67 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008957/0.5209, allocations: 0.543 MB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.054e-06/0.5209, allocations: 0 / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003172/0.5241, allocations: 1.29 MB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.5242, allocations: 192.9 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.5249, allocations: 0.6566 MB / 1.239 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.525, allocations: 49.7 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.5253, allocations: 408.4 kB / 1.24 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.5255, allocations: 283.9 kB / 1.24 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.5257, allocations: 178.5 kB / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5259, allocations: 390.8 kB / 1.24 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/0.5264, allocations: 293.8 kB / 1.241 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.5271, allocations: 391.1 kB / 1.241 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5282, allocations: 0.6555 MB / 1.242 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5282, allocations: 0 / 1.242 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001921/0.5301, allocations: 0.919 MB / 1.243 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5302, allocations: 11.94 kB / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5302, allocations: 0 / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.5308, allocations: 84.89 kB / 1.243 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.5315, allocations: 179.7 kB / 1.243 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.5334, allocations: 1.63 MB / 1.244 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/0.5341, allocations: 104.6 kB / 1.245 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.5342, allocations: 43.91 kB / 1.245 GB, free: 4.586 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (105): * Single equations (assignments): 104 * 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.000353/0.5345, allocations: 271.7 kB / 1.245 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.5347, allocations: 86.97 kB / 1.245 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.5371, allocations: 1.168 MB / 1.246 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.5371, allocations: 12 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5372, allocations: 3.938 kB / 1.246 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.5372, allocations: 7.969 kB / 1.246 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.5381, allocations: 0.9346 MB / 1.247 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5381, allocations: 0 / 1.247 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.5387, allocations: 163.8 kB / 1.247 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.5392, allocations: 68.78 kB / 1.247 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.5392, allocations: 31.92 kB / 1.247 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5821/1.121, allocations: 1.656 MB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.121, allocations: 1.625 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/1.124, allocations: 0.989 MB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/1.125, allocations: 285.6 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.125, allocations: 30.09 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/1.125, allocations: 64.14 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/1.126, allocations: 79.03 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/1.126, allocations: 39.02 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006744/1.126, allocations: 479.3 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.126, allocations: 0 / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009366/1.127, allocations: 339.4 kB / 1.251 GB, free: 182.9 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001365/1.129, allocations: 0.6081 MB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002702/1.131, allocations: 1.116 MB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.132, allocations: 0 / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.133, allocations: 0.551 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.134, allocations: 304.4 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/1.137, allocations: 1.749 MB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/1.137, allocations: 1.04 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008379/1.138, allocations: 285.9 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/1.139, allocations: 114.6 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.5e-07/1.139, allocations: 4 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03016/1.169, allocations: 15.93 MB / 1.272 GB, free: 178.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)