Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, 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.001461/0.001461, allocations: 190.8 kB / 16.14 MB, free: 6.688 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.23 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3615, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007708/0.3692, allocations: 5.362 MB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1935/0.5628, allocations: 148.5 MB / 1.218 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.5641, allocations: 19.88 kB / 1.218 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009858/0.5651, allocations: 154.8 kB / 1.218 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.568, allocations: 0.5316 MB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.5704, allocations: 0.7621 MB / 1.219 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.5728, allocations: 1.463 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.5742, allocations: 0.6513 MB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009797/0.5752, allocations: 498 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.5761, allocations: 0.5537 MB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.5763, allocations: 68 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5775, allocations: 435.6 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.5779, allocations: 274.9 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007433/0.5786, allocations: 0.5827 MB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.5808, allocations: 1.752 MB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5809, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5809, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.474e-05/0.5809, allocations: 0 / 1.225 GB, free: 8.766 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004394/0.5853, allocations: 1.585 MB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.5854, allocations: 16.03 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.5867, allocations: 195.2 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.5884, allocations: 0.7973 MB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/0.5885, allocations: 78 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.5888, allocations: 100 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.5911, allocations: 1.071 MB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5911, allocations: 0 / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5912, allocations: 44 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.5913, allocations: 24 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.5936, allocations: 1.225 MB / 1.23 GB, free: 3.473 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.006034/0.5996, allocations: 3.183 MB / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.6017, allocations: 0.9084 MB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.6024, allocations: 339.7 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.6025, allocations: 37.02 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.6038, allocations: 0.5501 MB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 3.367e-06/0.6038, allocations: 3.938 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.003841/0.6076, allocations: 1.345 MB / 1.236 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.6078, allocations: 188.9 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.6093, allocations: 0.6842 MB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.6094, allocations: 41.7 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/0.61, allocations: 444.3 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.6103, allocations: 295.7 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.6107, allocations: 194.4 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.6109, allocations: 398.7 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.6115, allocations: 301.8 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.6123, allocations: 403.1 kB / 1.239 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.6136, allocations: 0.6906 MB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6136, allocations: 0 / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002364/0.616, allocations: 0.958 MB / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.616, allocations: 4 kB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.616, allocations: 4 kB / 1.241 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/0.6167, allocations: 84.78 kB / 1.241 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.6175, allocations: 183.8 kB / 1.241 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.6199, allocations: 1.528 MB / 1.243 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009704/0.6209, allocations: 116.9 kB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.621, allocations: 51.89 kB / 1.243 GB, free: 6.148 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,incAng.decAng.tNext,$PRE.incAng.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 (109): * Single equations (assignments): 108 * 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.0005782/0.6216, allocations: 284 kB / 1.243 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.6218, allocations: 90.88 kB / 1.243 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.6247, allocations: 1.23 MB / 1.244 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.6247, allocations: 12 kB / 1.244 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6248, allocations: 0 / 1.244 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.6248, allocations: 7.969 kB / 1.244 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.6262, allocations: 0.9971 MB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6262, allocations: 4 kB / 1.245 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/0.6269, allocations: 167.7 kB / 1.246 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/0.6275, allocations: 84.72 kB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.6276, allocations: 31.97 kB / 1.246 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.6297, allocations: 1.548 MB / 1.247 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6297, allocations: 0 / 1.247 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.6321, allocations: 1.037 MB / 1.248 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.6327, allocations: 295.6 kB / 1.248 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.6329, allocations: 31.84 kB / 1.249 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008216/0.6338, allocations: 71.92 kB / 1.249 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.6297/1.263, allocations: 78.56 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.264, allocations: 43 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008068/1.264, allocations: 499.6 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.265, allocations: 1.688 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001192/1.266, allocations: 368.9 kB / 1.25 GB, free: 183.2 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.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 (107): * Single equations (assignments): 100 * 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.001415/1.267, allocations: 0.6317 MB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.269, allocations: 0.9277 MB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.269, allocations: 3.719 kB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.27, allocations: 0.5693 MB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.272, allocations: 284.1 kB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/1.275, allocations: 2.357 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/1.276, allocations: 1.074 MB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001011/1.277, allocations: 293.9 kB / 1.255 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/1.277, allocations: 119.8 kB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.277, allocations: 0 / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03076/1.308, allocations: 16.18 MB / 1.271 GB, free: 178.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)